Open pwm1234-sri opened 3 years ago
// modify timemory settings
tim::settings::banner() = false;
tim::settings::output_path() = GetOutputPath().generic_string();
tim::manager::instance()->update_metadata_prefix();
// get modified timemory settings and output a log message with the path to
// the trace output directory.
auto tim_output = tim::settings::get_global_output_prefix();
CROW_LOGGER_INFO(log::GetLogger("root"), "tim_output={}", tim_output);
// shutdown the timemory library
timemory_finalize_library();
See https://github.com/NERSC/timemory/issues/105 for great answers to 1-4.
How to count operations? For example, I am processing many images, and I would like to count how many images I loaded, saved, copied, etc.
A better approach to have a timemory interface similar to
CV_TRACE_REGION_NEXT
?How to run multiple simultaneous processes and keep their output separate?
How to get a timeseries of profiler measurements? In addition to conventional hotspot measurements, I need to profile long running processes to see how the measurements change over time. For example, I have a process that runs over a 12 hour period. I need to measure timing numbers and summarize for 15 minute intervals, so that I can see how performance varies over the 12 hour running time. Is this possible with timemory? How?
Can I use the shared libs build on windows now?