Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
jbachorik's comment
  • Loading branch information
zhengyu123 committed Jun 16, 2025
commit 0b128b57ec177020c18beb51f6f5caef93519463
1 change: 1 addition & 0 deletions ddprof-lib/src/main/cpp/threadFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ void ThreadFilter::clear() {
_size = 0;
}

// The mapping has to be reversible: f(f(x)) == x
int ThreadFilter::mapThreadId(int thread_id) {
Comment thread
zhengyu123 marked this conversation as resolved.
// We want to map the thread_id inside the same bitmap
static_assert(BITMAP_SIZE >= (u16)0xffff, "Potential verflow");
Expand Down
Loading