Commit 4ab66c61 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Helpful reminder

parent ccac5408
......@@ -364,6 +364,7 @@ static void handle_sigprof(int signum) {
//#define INVESTIGATE_STAT_TIMER "us_timer_in_jitted_code"
#ifdef INVESTIGATE_STAT_TIMER
static_assert(STAT_TIMERS, "Stat timers need to be enabled to investigate them");
static uint64_t* stat_counter = Stats::getStatCounter(INVESTIGATE_STAT_TIMER);
static void handle_sigprof_investigate_stattimer(int signum) {
if (StatTimer::getCurrentCounter() == stat_counter)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment