void loop() { float temp_celsius; float temp_fahrenheit; get_temperature(&temp_celsius, &temp_fahrenheit); record_sample(temp_celsius, temp_fahrenheit); }
void factor_vm::end_sampling_profiler() { atomic::store(&sampling_profiler_p, false); end_sampling_profiler_timer(); record_sample(false); }