mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-23 14:33:13 -04:00
Replaced all references to simulation with emulation Updated copyright year Updated .gitignore to reduce chances of random files being uploaded to the repo Added .gitattributes to normalize all text files, and to ignore binary files (which includes the logo and the NEC PDF)
27 lines
613 B
C
27 lines
613 B
C
//
|
|
// os/winapi/timer.h: Functions for obtaining the system clock time.
|
|
//
|
|
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
|
|
// Copyright (C) 2015, Tyler J. Stachecki.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// 'LICENSE', which is part of this source code package.
|
|
//
|
|
|
|
#ifndef CEN64_OS_WINAPI_TIMER
|
|
#define CEN64_OS_WINAPI_TIMER
|
|
#include "common.h"
|
|
#include <windows.h>
|
|
|
|
#define NS_PER_SEC 1000000000ULL
|
|
|
|
typedef DWORD cen64_time;
|
|
|
|
cen64_cold unsigned long long compute_time_difference(
|
|
const cen64_time *now, const cen64_time *before);
|
|
|
|
cen64_cold void get_time(cen64_time *t);
|
|
|
|
#endif
|
|
|