struct osnoise_params { /* Common params */ char *cpus;
cpu_set_t monitored_cpus; char *trace_output; char *cgroup_name; unsignedlonglong runtime; unsignedlonglong period; longlong threshold; longlong stop_us; longlong stop_total_us; int sleep_time; int duration; int set_sched; int cgroup; int hk_cpus;
cpu_set_t hk_cpu_set; struct sched_attr sched_param; struct trace_events *events; int warmup; int buffer_size; union { struct { /* top only */ int quiet; int pretty_output; enum osnoise_mode mode;
}; struct { /* hist only */ int output_divisor; char no_header; char no_summary; char no_index; char with_zeros; int bucket_size; int entries;
};
};
};
/* * osnoise_context - read, store, write, restore osnoise configs.
*/ struct osnoise_context { int flags; int ref;
char *curr_cpus; char *orig_cpus;
/* 0 as init value */ unsignedlonglong orig_runtime_us; unsignedlonglong runtime_us;
/* 0 as init value */ unsignedlonglong orig_period_us; unsignedlonglong period_us;
/* 0 as init value */ longlong orig_timerlat_period_us; longlong timerlat_period_us;
/* 0 as init value */ longlong orig_tracing_thresh; longlong tracing_thresh;
/* -1 as init value because 0 is disabled */ longlong orig_stop_us; longlong stop_us;
/* -1 as init value because 0 is disabled */ longlong orig_stop_total_us; longlong stop_total_us;
/* -1 as init value because 0 is disabled */ longlong orig_print_stack; longlong print_stack;
/* -1 as init value because 0 is off */ int orig_opt_irq_disable; int opt_irq_disable;
/* -1 as init value because 0 is off */ int orig_opt_workload; int opt_workload;
};
/* * *_INIT_VALs are also invalid values, they are used to * communicate errors.
*/ #define OSNOISE_OPTION_INIT_VAL (-1) #define OSNOISE_TIME_INIT_VAL (0)
int osnoise_hist_main(int argc, char *argv[]); int osnoise_top_main(int argc, char **argv); int osnoise_main(int argc, char **argv); int hwnoise_main(int argc, char **argv);
Messung V0.5
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.