📄 cputicker.cpp
字号:
// TITLE:
// High-Resolution Counter Class.
//
// VERSION:
// 1.0
//
// AUTHOR:
// Created by J.M.McGuiness, CompuServe ID 100627,630.
// PJ Naughter, pjn@indigo.ie
//
// DESCRIPTION:
// This file declares a class the wraps the Pentium-specific time stamp counter.
// This counter has a resolution in terms of PCLKS (processor clocks) so it can
// be used for direct instruction timings.
//
// VERSION HISTORY:
// 26/3/96 Creation of version 1.0
// 16/7/97 PJ Naughter,
// A number of additions including:
// Support for running on Windows NT
// now uses the build-in 64 bit data type "__int64"
// Improved diagnostic info thanks to the above
// Usage of static variables to improve efficiency
// Addition of a function which will convert from CPU ticks to seconds
// Improved adhereance to the MFC coding style and standards
//
// LEGALITIES:
// Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -