You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 regels
333 B

  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include <windows.h>
  3. #include "profiler.h"
  4. #include "macros.h"
  5. void test() {
  6. profile_this;
  7. printf("doing more work!\n");
  8. }
  9. int main(int argc, char* argv[]) {
  10. profile_this;
  11. printf("doing some work and sleeping!\n");
  12. Sleep(1000); // Sleep a seconds
  13. test();
  14. return 0;
  15. }