函数逻辑报告 |
Source Code:kernel\trace\trace_benchmark.c |
Create Date:2022-07-27 13:56:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This gets called in a loop recording the time it took to write* the tracepoint
函数原型:static void trace_do_benchmark(void)
返回类型:void
参数:无
46 | std等于0 |
52 | 禁止中断() |
53 | start等于race_clock_local(): the simplest and least coherent tracing clock.* Useful for tracing that does not cross to other CPUs nor* does it go through idle events. |
55 | stop等于race_clock_local(): the simplest and least coherent tracing clock.* Useful for tracing that does not cross to other CPUs nor* does it go through idle events. |
56 | 开中断() |
58 | bm_cnt自加 |
66 | 如果bm_cnt恒等于1则 |
86 | 格式化输出字符串 |
89 | 返回 |
93 | bm_totalsq加等于delta乘delta |
96 | 如果bm_cnt大于1则 |
103 | do_div() is NOT a C function(stddev, (u32)bm_cnt - 1) |
104 | 否则stddev等于0 |
111 | 如果stddev大于0则 |
138 | 格式化输出字符串 |
名称 | 描述 |
---|---|
benchmark_event_kthread |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |