Lines Matching refs:stop_total_us
505 long long stop_total_us; in osnoise_get_stop_total_us() local
507 if (context->stop_total_us != OSNOISE_OPTION_INIT_VAL) in osnoise_get_stop_total_us()
508 return context->stop_total_us; in osnoise_get_stop_total_us()
513 stop_total_us = osnoise_read_ll_config("osnoise/stop_tracing_total_us"); in osnoise_get_stop_total_us()
514 if (stop_total_us < 0) in osnoise_get_stop_total_us()
517 context->orig_stop_total_us = stop_total_us; in osnoise_get_stop_total_us()
518 return stop_total_us; in osnoise_get_stop_total_us()
527 int osnoise_set_stop_total_us(struct osnoise_context *context, long long stop_total_us) in osnoise_set_stop_total_us() argument
535 retval = osnoise_write_ll_config("osnoise/stop_tracing_total_us", stop_total_us); in osnoise_set_stop_total_us()
539 context->stop_total_us = stop_total_us; in osnoise_set_stop_total_us()
554 if (context->orig_stop_total_us == context->stop_total_us) in osnoise_restore_stop_total_us()
563 context->stop_total_us = OSNOISE_OPTION_INIT_VAL; in osnoise_restore_stop_total_us()
961 context->stop_total_us = OSNOISE_OPTION_INIT_VAL; in osnoise_context_alloc()