#include <corecrt_startup.h>
#include <internal_shared.h>
#include <excpt.h>
#include <stdlib.h>
#include <intrin.h>
#include <pseh/pseh2.h>
Go to the source code of this file.
◆ FAST_FAIL_FATAL_APP_EXIT
#define FAST_FAIL_FATAL_APP_EXIT 7 |
◆ __declspec()
Definition at line 69 of file commonCRTStartup.hpp.
70{
71 int exitCode;
72
74 {
76 }
77
79 {
80 exitCode = call_main<Tmain>();
81 }
83 {
85 }
87
89}
static bool __scrt_initialize()
#define FAST_FAIL_FATAL_APP_EXIT
#define EXCEPTION_EXECUTE_HANDLER
__fastfail(FAST_FAIL_INVALID_ARG)
#define GetExceptionCode()
◆ __scrt_initialize()
static bool __scrt_initialize |
( |
| ) |
|
|
static |
Definition at line 43 of file commonCRTStartup.hpp.
44{
46
48 {
49 return false;
50 }
51
53 {
55 return false;
56 }
57
59 {
60 return false;
61 }
62
64
65 return true;
66}
_ACRTIMP void __cdecl _initterm(_In_reads_(_Last - _First) _In_ _PVFV *_First, _In_ _PVFV *_Last)
_ACRTIMP int __cdecl _initterm_e(_In_reads_(_Last - _First) _PIFV *_First, _In_ _PIFV *_Last)
__crt_bool __cdecl __acrt_initialize()
__vcrt_bool __cdecl __vcrt_uninitialize(_In_ __vcrt_bool _Terminating)
int __cdecl __isa_available_init(void)
__vcrt_bool __cdecl __vcrt_initialize(void)
Referenced by __declspec().
◆ call_main()
◆ call_main< decltype(main)>()
Definition at line 28 of file commonCRTStartup.hpp.
29{
31
33}
_ACRTIMP char **__cdecl _get_initial_narrow_environment(void)
_ACRTIMP errno_t __cdecl _configure_narrow_argv(_In_ _crt_argv_mode mode)
_CRTIMP char ***__cdecl __p___argv()
_CRTIMP int *__cdecl __p___argc()
@ _crt_argv_unexpanded_arguments
◆ call_main< decltype(wmain)>()
Definition at line 36 of file commonCRTStartup.hpp.
37{
39
41}
_ACRTIMP wchar_t **__cdecl _get_initial_wide_environment(void)
_ACRTIMP errno_t __cdecl _configure_wide_argv(_In_ _crt_argv_mode mode)
_CRTIMP wchar_t ***__cdecl __p___wargv()
◆ main()
Definition at line 5 of file TestTimer.c.
6{
10
12 printf (
"HIGH RESOLUTION PERFOMANCE COUNTER Frequency = %I64d CLOCKS IN SECOND\n",
14
15
17 {
18 printf(
"Your computer does not support High Resolution Performance counter\n");
19 return;
20 }
21
22 printf (
"Press <ENTER> to start test...\n" );
24
25 printf (
"\nPress any key to quit test\n\n" );
27 for (;;)
28 {
30 printf(
"Elapsed Time : %8.6f mSec\r",
33 break;
34 }
35
36
37}
BOOL WINAPI QueryPerformanceFrequency(OUT PLARGE_INTEGER lpFrequency)
BOOL WINAPI QueryPerformanceCounter(OUT PLARGE_INTEGER lpPerformanceCount)
_Check_return_ _CRTIMP int __cdecl getchar(void)
_CRTIMP int __cdecl _kbhit(void)
◆ wmain()