| 121 | } |
| 122 | |
| 123 | static void rdtsc_prof_init(struct rdtsc_prof *p, const char *name) |
| 124 | { |
| 125 | p->clk_min = (uint64_t)(-1LL); |
| 126 | p->clk_max = 0; |
| 127 | p->clk_avg = 0; |
| 128 | p->clk_avgc = 0; |
| 129 | p->name = name; |
| 130 | } |
| 131 | |
| 132 | static inline void rdtsc_prof_start(struct rdtsc_prof *p) |
| 133 | { |
no outgoing calls
no test coverage detected