Skip to content

Commit 1abc327

Browse files
committedFeb 26, 2024
Dynamic Events
1 parent 036c530 commit 1abc327

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎src/coreclr/gc/gc.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -10334,10 +10334,12 @@ static void do_vxsort (uint8_t** item_array, ptrdiff_t item_count, uint8_t* rang
1033410334
// use AVX512F only if the list is large enough to pay for downclocking impact
1033510335
if (IsSupportedInstructionSet (InstructionSet::AVX512F) && (item_count > AVX512F_THRESHOLD_SIZE))
1033610336
{
10337+
GCEventFireVxSort_V1 ();
1033710338
do_vxsort_avx512 (item_array, &item_array[item_count - 1], range_low, range_high);
1033810339
}
1033910340
else
1034010341
{
10342+
GCEventFireVxSort_V1 ();
1034110343
do_vxsort_avx2 (item_array, &item_array[item_count - 1], range_low, range_high);
1034210344
}
1034310345
}

‎src/coreclr/gc/gcevents.h

+2
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,7 @@ DYNAMIC_EVENT(CommittedUsage, GCEventLevel_Information, GCEventKeyword_GC, 1)
5252
DYNAMIC_EVENT(HeapCountTuning, GCEventLevel_Information, GCEventKeyword_GC, 1)
5353
DYNAMIC_EVENT(HeapCountSample, GCEventLevel_Information, GCEventKeyword_GC, 1)
5454

55+
DYNAMIC_EVENT(VxSort, GCEventLevel_Information, GCEventKeyword_GC, 1)
56+
5557
#undef KNOWN_EVENT
5658
#undef DYNAMIC_EVENT

0 commit comments

Comments
 (0)