Lines Matching full:duration

28 	int			duration;  member
120 unsigned long long duration, int count) in osnoise_hist_update_multiple() argument
129 duration = duration / params->output_divisor; in osnoise_hist_update_multiple()
132 bucket = duration / data->bucket_size; in osnoise_hist_update_multiple()
136 update_min(&data->hist[cpu].min_sample, &duration); in osnoise_hist_update_multiple()
137 update_sum(&data->hist[cpu].sum_sample, &duration); in osnoise_hist_update_multiple()
138 update_max(&data->hist[cpu].max_sample, &duration); in osnoise_hist_update_multiple()
172 snprintf(buff, sizeof(buff), "duration.buckets=%d", bucket_size); in osnoise_init_trace_hist()
200 long long cpu, counter, duration; in osnoise_read_trace_hist() local
213 position = strstr(position, "duration: ~"); in osnoise_read_trace_hist()
216 position += strlen("duration: ~"); in osnoise_read_trace_hist()
217 duration = get_llong_from_str(position); in osnoise_read_trace_hist()
218 if (duration == -1) in osnoise_read_trace_hist()
219 err_msg("error reading duration from histogram\n"); in osnoise_read_trace_hist()
237 osnoise_hist_update_multiple(tool, cpu, duration, counter); in osnoise_read_trace_hist()
250 char duration[26]; in osnoise_hist_header() local
256 get_duration(tool->start_time, duration, sizeof(duration)); in osnoise_hist_header()
262 trace_seq_printf(s, "# Duration: %s\n", duration); in osnoise_hist_header()
443 " -d/--duration time[s|m|h|d]: duration of the session", in osnoise_hist_usage()
502 {"duration", required_argument, 0, 'd'}, in osnoise_hist_parse_args()
558 params->duration = parse_seconds_duration(optarg); in osnoise_hist_parse_args()
559 if (!params->duration) in osnoise_hist_parse_args()
560 osnoise_hist_usage("Invalid -D duration\n"); in osnoise_hist_parse_args()
765 if (params->duration) { in osnoise_hist_set_signals()
767 alarm(params->duration); in osnoise_hist_set_signals()