-
account_summaries.md
has the "summary statistics" which we can use to verify the data.- Look at the
period_mean
(or thecount
if you prefer) to verify the plugin is running at the right frequency. - Look at the
cpu_duration_mean
(orwall_duration_mean
for the special case of GPU plugins and plugins with untracked parallelism) see if the ballpark number is right.
- Look at the
-
Bar chart
-
Timeseries
-
cpu_duration_hists/
is nice to see the clean distribution of the durations.- The orange points are points whose x-coordinate is a raw data point and y-coordinate is randomly scattered for visual effect.
slam2
andoffline_imu_cam
are split into case with camera and just IMU data.- Ofline IMU/cam skip is weirdly slow.
- I don't know where the "5ms" mode is coming from.
- This is the code:
virtual skip_option _p_should_skip() override {
if (_m_sensor_data_it != _m_sensor_data.end()) {
dataset_now = _m_sensor_data_it->first;
reliable_sleep(std::chrono::nanoseconds{dataset_now - dataset_first_time} + real_first_time);
real_now = real_first_time + std::chrono::nanoseconds{dataset_now - dataset_first_time};
if (_m_sensor_data_it->second.imu0) {
return skip_option::run;
} else {
++_m_sensor_data_it;
return skip_option::skip_and_yield;
}
} else {
return skip_option::stop;
}
}
-
utilization_hists/
is interesting. It is the CPU time / wall time for an iteration.- We can tell off-the-bat that
audio_component iter
is CPU-bound whilegldemo iter
is not, andoffline_imu_cam iter imu
depends. - I don't know how some iterations have utilization > 100%. It is possible that the CPU timer and wall timer are not at the same granularity, since they are coming from different sources, and this could introduce noise.
- We can tell off-the-bat that
-
- Mostly uni-modal bell-shaped.
- However, sometimes a bimodal distribution emerges from whether or not the
should_skip
yields a scheduling quantum. - SLAM2's callbacks should theoretically be the same as they are in the dataset.
-
gpu_duration_hists/
Only one plugin in my experiment used GPU. -
gpu_overhead_hists/
GPU time / CPU time.