Lines Matching refs:TSC
83 uint64_t TSC = 2;
85 ASSERT_TRUE(C->functionEnter(FId, TSC++, CPU));
86 ASSERT_TRUE(C->functionExit(FId, TSC++, CPU));
87 ASSERT_TRUE(C->functionEnterArg(FId, TSC++, CPU, 1));
88 ASSERT_TRUE(C->functionTailExit(FId, TSC++, CPU));
142 uint64_t TSC = 1;
144 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
145 ASSERT_TRUE(C->functionEnter(2, TSC++, CPU));
146 ASSERT_TRUE(C->functionExit(2, TSC++, CPU));
147 ASSERT_TRUE(C->functionExit(1, TSC += 1000, CPU));
167 uint64_t TSC = 1;
170 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
171 ASSERT_TRUE(C->functionExit(1, TSC += LargeDelta, CPU));
175 // Serialize the buffer then test to see if we find the right TSC with a large
194 uint64_t TSC = 1;
196 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
197 ASSERT_TRUE(C->functionEnter(2, TSC++, CPU));
198 ASSERT_TRUE(C->functionEnter(3, TSC++, CPU));
201 ASSERT_TRUE(C->functionExit(3, TSC++, CPU));
202 ASSERT_TRUE(C->functionExit(2, TSC++, CPU));
203 ASSERT_TRUE(C->functionExit(1, TSC++, CPU));
221 uint64_t TSC = 1;
223 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
224 ASSERT_TRUE(C->functionEnter(2, TSC++, CPU));
225 ASSERT_TRUE(C->functionEnter(3, TSC++, CPU));
228 ASSERT_TRUE(C->functionTailExit(3, TSC++, CPU));
229 ASSERT_TRUE(C->functionEnter(4, TSC++, CPU));
230 ASSERT_TRUE(C->functionTailExit(4, TSC++, CPU));
231 ASSERT_TRUE(C->functionEnter(5, TSC++, CPU));
232 ASSERT_TRUE(C->functionTailExit(5, TSC++, CPU));
233 ASSERT_TRUE(C->functionEnter(6, TSC++, CPU));
236 ASSERT_TRUE(C->functionExit(6, TSC++, CPU));
237 ASSERT_TRUE(C->functionExit(2, TSC++, CPU));
238 ASSERT_TRUE(C->functionExit(1, TSC++, CPU));
255 uint64_t TSC = 1;
257 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
258 ASSERT_TRUE(C->functionEnter(2, TSC++, CPU));
259 ASSERT_TRUE(C->functionEnter(3, TSC++, CPU));
262 ASSERT_TRUE(C->functionTailExit(3, TSC++, CPU));
263 ASSERT_TRUE(C->functionEnter(4, TSC++, CPU));
264 ASSERT_TRUE(C->functionTailExit(4, TSC++, CPU));
268 ASSERT_TRUE(C->functionEnter(5, TSC++, CPU));
269 ASSERT_TRUE(C->functionTailExit(5, TSC++, CPU));
270 ASSERT_TRUE(C->functionEnter(6, TSC++, CPU));
273 ASSERT_TRUE(C->functionExit(6, TSC++, CPU));
274 ASSERT_TRUE(C->functionExit(2, TSC++, CPU));
275 ASSERT_TRUE(C->functionExit(1, TSC++, CPU));
319 uint64_t TSC = 1;
322 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
323 ASSERT_TRUE(C->functionExit(1, TSC++, CPU));
335 uint64_t TSC = 1;
339 ASSERT_TRUE(C->functionEnterArg(1, TSC++, CPU, ARG++));
340 ASSERT_TRUE(C->functionExit(1, TSC++, CPU));
352 uint64_t TSC = 1;
356 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
357 ASSERT_TRUE(C->functionExit(1, TSC++, CPU));
358 ASSERT_TRUE(C->customEvent(TSC++, CPU, &D, sizeof(D)));
373 uint64_t TSC = 1;
377 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
384 ASSERT_FALSE(C->functionExit(1, TSC++, CPU));
400 uint64_t TSC = 1;
403 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
408 EXPECT_TRUE(C->functionExit(1, TSC++, CPU));