/dports/games/manaplus/manaplus-2.1.3.17/src/sdl2gfx/ |
H A D | SDL2_framerate.cpp | 164 Uint32 current_ticks; in SDL_framerateDelay() local 193 current_ticks = _getTicks(); in SDL_framerateDelay() 194 time_passed = current_ticks - manager->lastticks; in SDL_framerateDelay() 195 manager->lastticks = current_ticks; in SDL_framerateDelay() 199 if (current_ticks <= target_ticks) in SDL_framerateDelay() 201 the_delay = target_ticks - current_ticks; in SDL_framerateDelay()
|
/dports/graphics/sdl_gfx/SDL_gfx-2.0.26/ |
H A D | SDL_framerate.c | 148 Uint32 current_ticks; in SDL_framerateDelay() local 175 current_ticks = _getTicks(); in SDL_framerateDelay() 176 time_passed = current_ticks - manager->lastticks; in SDL_framerateDelay() 177 manager->lastticks = current_ticks; in SDL_framerateDelay() 180 if (current_ticks <= target_ticks) { in SDL_framerateDelay() 181 the_delay = target_ticks - current_ticks; in SDL_framerateDelay()
|
/dports/graphics/sdl2_gfx/SDL2_gfx-1.0.4/ |
H A D | SDL2_framerate.c | 148 Uint32 current_ticks; in SDL_framerateDelay() local 175 current_ticks = _getTicks(); in SDL_framerateDelay() 176 time_passed = current_ticks - manager->lastticks; in SDL_framerateDelay() 177 manager->lastticks = current_ticks; in SDL_framerateDelay() 180 if (current_ticks <= target_ticks) { in SDL_framerateDelay() 181 the_delay = target_ticks - current_ticks; in SDL_framerateDelay()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anon0ca1b1aa0111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 150 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anon0ca1b1aa0111::MockFastUnorderedElapsedCounterSource 241 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 256 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 277 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 306 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 325 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 341 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 351 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anonc740b5260111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 150 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anonc740b5260111::MockFastUnorderedElapsedCounterSource 241 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 256 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 277 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 306 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 325 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 341 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 351 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anon39f53e380111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 150 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anon39f53e380111::MockFastUnorderedElapsedCounterSource 241 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 256 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 277 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 306 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 325 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 341 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 351 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anon8468a93f0111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 150 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anon8468a93f0111::MockFastUnorderedElapsedCounterSource 241 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 256 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 277 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 306 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 325 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 341 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 351 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/games/gnujump/gnujump-1.0.8/src/ |
H A D | game-timer.c | 36 Uint32 current_ticks; in updateTimer() local 46 currms = current_ticks = SDL_GetTicks (); in updateTimer() 53 if (current_ticks <= target_ticks) in updateTimer() 55 the_delay = target_ticks - current_ticks; in updateTimer() 64 ret = current_ticks - target_ticks; in updateTimer()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anon12a35f410111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 202 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anon12a35f410111::MockFastUnorderedElapsedCounterSource 237 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 254 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 275 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 304 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 323 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 339 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 349 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anon1e273c660111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 202 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anon1e273c660111::MockFastUnorderedElapsedCounterSource 237 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 254 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 275 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 304 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 323 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 339 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 349 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anona230d3340111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 202 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anona230d3340111::MockFastUnorderedElapsedCounterSource 237 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 254 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 275 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 304 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 323 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 339 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 349 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/gtest/jfr/ |
H A D | test_networkUtilization.cpp | 55 static jlong current_ticks; member in __anonb1b4426c0111::MockFastUnorderedElapsedCounterSource 57 return current_ticks; in now() 202 jlong MockFastUnorderedElapsedCounterSource::current_ticks; member in __anonb1b4426c0111::MockFastUnorderedElapsedCounterSource 237 MockFastUnorderedElapsedCounterSource::current_ticks += 1 * NANOSECS_PER_SEC; in SetUp() 252 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 273 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 302 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 321 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 337 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() 347 MockFastUnorderedElapsedCounterSource::current_ticks += 2 * NANOSECS_PER_SEC; in TEST_VM_F() [all …]
|
/dports/x11-wm/awesome-vicious/vicious-2.4.1/widgets/ |
H A D | cpu_openbsd.lua | 38 local current_ticks = {} 40 table.insert(current_ticks, tonumber(match)) 46 current_ticks[i] - ticks[i]) 55 ticks = current_ticks
|
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/SDL_gfx/ |
H A D | SDL_framerate.cpp | 62 Uint32 current_ticks; in SDL_framerateDelay() local 74 current_ticks = SDL_GetTicks(); in SDL_framerateDelay() 77 if (current_ticks <= target_ticks) { in SDL_framerateDelay() 78 the_delay = target_ticks - current_ticks; in SDL_framerateDelay()
|
/dports/games/kuklomenos/kuklomenos-0.4.5/Mac/SDL_gfx/ |
H A D | SDL_framerate.c | 62 Uint32 current_ticks; in SDL_framerateDelay() local 74 current_ticks = SDL_GetTicks(); in SDL_framerateDelay() 77 if (current_ticks <= target_ticks) { in SDL_framerateDelay() 78 the_delay = target_ticks - current_ticks; in SDL_framerateDelay()
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ |
H A D | animated.cpp | 27 int current_ticks = 0; variable 32 current_ticks = SDL_GetTicks(); in new_animation_frame() 37 return current_ticks; in get_current_animation_tick()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/util/ |
H A D | timelog.cpp | 33 Uint32 current_ticks = SDL_GetTicks(); in log() local 37 << (current_ticks - m_last_ticks) / 1000.0 << " seconds" in log() 41 m_last_ticks = current_ticks; in log()
|
/dports/lang/gcc10/gcc-10.3.0/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 81 const long long current_ticks = __TIMESPEC_TO_TICKS (current); 85 if (current_ticks < abs_timeout_ticks) 86 waiting_ticks = abs_timeout_ticks - current_ticks; 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); 126 if (current_ticks < abs_timeout_ticks) 127 waiting_ticks = abs_timeout_ticks - current_ticks;
|
/dports/lang/gcc12-devel/gcc-12-20211205/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_cond_timedwait() local 127 if (current_ticks < abs_timeout_ticks) in __gthread_cond_timedwait() 128 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_cond_timedwait() 163 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_mutex_timedlock() local 166 if (current_ticks < abs_timeout_ticks) in __gthread_mutex_timedlock() 167 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_mutex_timedlock()
|
/dports/devel/avr-gcc/gcc-10.2.0/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 81 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_cond_timedwait() local 85 if (current_ticks < abs_timeout_ticks) in __gthread_cond_timedwait() 86 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_cond_timedwait() 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_mutex_timedlock() local 126 if (current_ticks < abs_timeout_ticks) in __gthread_mutex_timedlock() 127 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_mutex_timedlock()
|
/dports/lang/gcc11-devel/gcc-11-20211009/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_cond_timedwait() local 127 if (current_ticks < abs_timeout_ticks) in __gthread_cond_timedwait() 128 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_cond_timedwait() 163 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_mutex_timedlock() local 166 if (current_ticks < abs_timeout_ticks) in __gthread_mutex_timedlock() 167 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_mutex_timedlock()
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_cond_timedwait() local 127 if (current_ticks < abs_timeout_ticks) in __gthread_cond_timedwait() 128 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_cond_timedwait() 163 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_mutex_timedlock() local 166 if (current_ticks < abs_timeout_ticks) in __gthread_mutex_timedlock() 167 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_mutex_timedlock()
|
/dports/lang/gcc11/gcc-11.2.0/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_cond_timedwait() local 127 if (current_ticks < abs_timeout_ticks) in __gthread_cond_timedwait() 128 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_cond_timedwait() 163 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_mutex_timedlock() local 166 if (current_ticks < abs_timeout_ticks) in __gthread_mutex_timedlock() 167 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_mutex_timedlock()
|
/dports/lang/gcc10-devel/gcc-10-20211008/libgcc/config/ |
H A D | gthr-vxworks-thread.c | 81 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_cond_timedwait() local 85 if (current_ticks < abs_timeout_ticks) in __gthread_cond_timedwait() 86 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_cond_timedwait() 123 const long long current_ticks = __TIMESPEC_TO_TICKS (current); in __gthread_mutex_timedlock() local 126 if (current_ticks < abs_timeout_ticks) in __gthread_mutex_timedlock() 127 waiting_ticks = abs_timeout_ticks - current_ticks; in __gthread_mutex_timedlock()
|
/dports/graphics/aseprite/aseprite-1.2.9/src/she/alleg4/ |
H A D | mouse_poller.cpp | 124 base::tick_t current_ticks = base::current_tick(); in generate_mouse_event_for_button() local 128 if ((current_ticks - double_click_ticks) > DOUBLE_CLICK_TIMEOUT_MSECS) { in generate_mouse_event_for_button() 149 double_click_ticks = current_ticks; in generate_mouse_event_for_button() 158 if ((current_ticks - double_click_ticks) > DOUBLE_CLICK_TIMEOUT_MSECS) { in generate_mouse_event_for_button() 163 double_click_ticks = current_ticks; in generate_mouse_event_for_button()
|