Blender V2.61 - r43446
|
Go to the source code of this file.
Defines | |
#define | TIMEIT_START(var) |
#define | TIMEIT_VALUE(var) (float)(PIL_check_seconds_timer() - _timeit_##var) |
#define | TIMEIT_END(var) |
Functions | |
double | PIL_check_seconds_timer (void) |
void | PIL_sleep_ms (int ms) |
Definition in file PIL_time.h.
#define TIMEIT_END | ( | var | ) |
} \ printf("time end (" #var "): %.6f" " " AT "\n", TIMEIT_VALUE(var)); \ fflush(stdout); \ } \
Definition at line 71 of file PIL_time.h.
Referenced by applyModifier().
#define TIMEIT_START | ( | var | ) |
{ \ double _timeit_##var= PIL_check_seconds_timer(); \ printf("time start (" #var "): " AT "\n"); \ fflush(stdout); \ { \
Utility defines for timing. requires BLI_utildefines.h for 'AT' TIMEIT_VALUE returns the time since TIMEIT_START was called.
Definition at line 60 of file PIL_time.h.
Referenced by applyModifier().
#define TIMEIT_VALUE | ( | var | ) | (float)(PIL_check_seconds_timer() - _timeit_##var) |
Definition at line 68 of file PIL_time.h.
double PIL_check_seconds_timer | ( | void | ) |
void PIL_sleep_ms | ( | int | ms | ) |
Platform-independent sleep function.
ms | Number of milliseconds to sleep |
Definition at line 91 of file time.c.
Referenced by bake_image_exec(), BKE_ptcache_bake(), BLI_insert_work(), ntreeCompositExecTree(), RE_bake_shade_all_selected(), screenshot_startjob(), threaded_makeshadowbufs(), threaded_tile_processor(), thumbnails_startjob(), track_markers_startjob(), and wm_window_process_events().