- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

# D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/timing/timing_PC.cpp

Go to the documentation of this file.

    00001
    00009 #include <windows.h>
    00010 #include "timing.h"
    00011
    00012
    00013 int offset;
    00014
    00015 void tic()
    00016 {
    00017         offset = GetTickCount();
    00018 }
    00019
    00020 float toc()
    00021 {
    00022         return (float(GetTickCount()-offset)/1000.0f);
    00023 }