Profiling: measure time on POSIX systems using clock_gettime

This commit is contained in:
Gabriel Corona
2014-10-18 02:50:02 +02:00
parent 1c41acaddd
commit 641e820257
8 changed files with 86 additions and 35 deletions

View File

@ -0,0 +1,17 @@
// Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
#if !defined(_WIN32)
#include <cstdint>
#include "Common/CommonTypes.h"
typedef u64 LARGE_INTEGER;
bool QueryPerformanceCounter(u64* out);
bool QueryPerformanceFrequency(u64* lpFrequency);
#endif