Skip to content

Commit

Permalink
Remove printf from stats.hh
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashmahar committed Nov 28, 2023
1 parent 2e40e3c commit 0cd0ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/nvsl/stats.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ namespace nvsl {
StatsBase(bool reg) {
if (reg) {
#ifdef NVSL_ENABLE_COLLECTION_REGISTRATION
fprintf(stderr, "Registering stat %p\n", (void *)this);
StatsCollection::stats->push_back(this);
#endif
}

const auto stat_dump_prd_def = std::to_string(STAT_DUMP_PERIOD);
const auto stat_dump_prd_str = get_env_str(NVSL_STAT_DUMP_PERIOD_ENV, stat_dump_prd_def);
const auto stat_dump_prd_str =
get_env_str(NVSL_STAT_DUMP_PERIOD_ENV, stat_dump_prd_def);
STAT_DUMP_PERIOD = std::stoul(stat_dump_prd_str);
};

Expand Down

0 comments on commit 0cd0ebd

Please sign in to comment.