Home
last modified time | relevance | path

Searched refs:get_ticks (Results 1 – 25 of 3865) sorted by relevance

12345678910>>...155

/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/
H A Dtest_stopwatch.cpp73 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
82 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
85 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
111 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
123 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
141 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
165 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
171 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
174 EXPECT_EQ(watch.get_ticks(), 0); in TEST_SUITE()
237 EXPECT_EQ(watch.get_ticks(), 5); in TEST_SUITE()
[all …]
/dports/games/supertux/supertux-0.1.3/src/
H A Dtimer.cpp74 get_ticks = st_ticks ? st_get_ticks : SDL_GetTicks; in init()
80 time = get_ticks(); in start()
87 if(get_ticks == st_get_ticks) in stop()
96 if((time != 0) && (time + period > get_ticks())) in check()
117 return (period - (get_ticks() - time)); in get_left()
123 return (get_ticks() - time); in get_gone()
132 diff_ticks = get_ticks() - time; in fwrite()
138 if(get_ticks == st_get_ticks) in fwrite()
156 get_ticks = st_get_ticks; in fread()
158 get_ticks = SDL_GetTicks; in fread()
[all …]
/dports/audio/ardour6/Ardour-6.8.0/libs/evoral/test/
H A DBeatsTest.cc18 CPPUNIT_ASSERT_EQUAL(2, a.get_ticks()); in createTest()
23 CPPUNIT_ASSERT_EQUAL(Beats::PPQN / 2, b.get_ticks()); in createTest()
28 CPPUNIT_ASSERT_EQUAL(0, c.get_ticks()); in createTest()
32 CPPUNIT_ASSERT_EQUAL(7, d.get_ticks()); in createTest()
54 CPPUNIT_ASSERT_EQUAL(6, c.get_ticks()); in addTest()
66 CPPUNIT_ASSERT_EQUAL((int32_t)(Beats::PPQN * -0.34), p_n.get_ticks()); in addTest()
72 CPPUNIT_ASSERT_EQUAL((int32_t)(Beats::PPQN * -0.34), n_p.get_ticks()); in addTest()
91 CPPUNIT_ASSERT_EQUAL(2, c.get_ticks()); in subtractTest()
135 CPPUNIT_ASSERT_EQUAL(au.get_ticks(), 0); in roundTest()
140 CPPUNIT_ASSERT_EQUAL(ad.get_ticks(), 0); in roundTest()
[all …]
/dports/ports-mgmt/pkg/pkg-1.17.5/external/libucl/tests/
H A Dtest_speed.c43 get_ticks (void) in get_ticks() function
94 start = get_ticks (); in main()
98 end = get_ticks (); in main()
108 start = get_ticks (); in main()
110 end = get_ticks (); in main()
117 start = get_ticks (); in main()
119 end = get_ticks (); in main()
126 start = get_ticks (); in main()
128 end = get_ticks (); in main()
135 start = get_ticks (); in main()
[all …]
/dports/textproc/py-ucl/libucl-0.8.1/tests/
H A Dtest_speed.c43 get_ticks (void) in get_ticks() function
94 start = get_ticks (); in main()
98 end = get_ticks (); in main()
108 start = get_ticks (); in main()
110 end = get_ticks (); in main()
117 start = get_ticks (); in main()
119 end = get_ticks (); in main()
126 start = get_ticks (); in main()
128 end = get_ticks (); in main()
135 start = get_ticks (); in main()
[all …]
/dports/textproc/libucl/libucl-0.8.1/tests/
H A Dtest_speed.c43 get_ticks (void) in get_ticks() function
94 start = get_ticks (); in main()
98 end = get_ticks (); in main()
108 start = get_ticks (); in main()
110 end = get_ticks (); in main()
117 start = get_ticks (); in main()
119 end = get_ticks (); in main()
126 start = get_ticks (); in main()
128 end = get_ticks (); in main()
135 start = get_ticks (); in main()
[all …]
/dports/games/legesmotus/legesmotus-0.4.0/server/
H A DServerPlayer.cpp47 m_join_time = m_last_seen_time = get_ticks(); in init()
56 m_join_time = get_ticks(); in reset_join_time()
60 m_team_change_time = get_ticks(); in set_team_change_time()
64 uint64_t time_since_join = get_ticks() - m_join_time; in time_until_spawn()
69 m_last_seen_time = get_ticks(); in seen()
77 return get_ticks() - m_last_seen_time >= Server::PLAYER_TIMEOUT; in has_timed_out()
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/
H A Dframe_skip.c58 uclock_t get_ticks(void) in get_ticks() function
71 Uint32 get_ticks(void) in get_ticks() function
113 target = get_ticks(); in frame_skip()
132 rfd = get_ticks(); in frame_skip()
136 while (get_ticks() < target) { in frame_skip()
161 if (get_ticks() - sec >= TICKS_PER_SEC) { in frame_skip()
177 sec = get_ticks(); in frame_skip()
/dports/emulators/gngb/gngb-20060309/src/
H A Dframe_skip.c61 uclock_t get_ticks(void) { in get_ticks() function
84 target=get_ticks(); in frame_skip()
99 rfd=get_ticks(); in frame_skip()
103 while(get_ticks()<target) { in frame_skip()
119 if (get_ticks()-sec>=TICKS_PER_SEC) { in frame_skip()
124 sec=get_ticks(); in frame_skip()
/dports/sysutils/u-boot-tools/u-boot-2020.07/lib/
H A Dtime.c81 uint64_t notrace get_ticks(void) in get_ticks() function
107 uint64_t __weak notrace get_ticks(void) in get_ticks() function
138 return tick_to_time(get_ticks()) - base; in get_timer()
152 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
157 return tick_to_time(get_ticks() * 1000); in timer_get_us()
172 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
174 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-sopine/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-rpi/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-chip/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/lib/
H A Dtime.c83 uint64_t notrace get_ticks(void) in get_ticks() function
114 uint64_t __weak notrace get_ticks(void) in get_ticks() function
145 return tick_to_time(get_ticks()) - base; in get_timer()
159 return tick_to_time_us(get_ticks()) - base; in get_timer_us()
169 return tick_to_time(get_ticks() * 1000); in timer_get_us()
184 tmp = get_ticks() + usec_to_tick(usec); /* get current timestamp */ in __udelay()
186 while (get_ticks() < tmp+1) /* loop till event */ in __udelay()

12345678910>>...155