Skip to content

Commit

Permalink
Fix live flat profile refresh rate
Browse files Browse the repository at this point in the history
  • Loading branch information
NoiseByNorthwest committed Mar 11, 2018
1 parent 12fb724 commit 40d0467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spx_reporter_fp.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static spx_profiler_reporter_cost_t fp_notify(spx_profiler_reporter_t * reporter
return SPX_PROFILER_REPORTER_COST_LIGHT;
}

size_t ts_ms = spx_resource_stats_wall_time() / 1000;
size_t ts_ms = spx_resource_stats_wall_time() / (1000 * 1000);
if (ts_ms - fp_reporter->last_ts_ms < 70) {
return SPX_PROFILER_REPORTER_COST_LIGHT;
}
Expand Down

0 comments on commit 40d0467

Please sign in to comment.