GCP Assignment 1
MathsTest
Core
PerformanceTest.h
Go to the documentation of this file.
1
#pragma once
2
#include <windows.h>
3
#include <cstdint>
4
#include "
Logging.h
"
5
9
namespace
Core
10
{
15
class
PerformanceTest
16
{
17
public
:
21
PerformanceTest
();
22
26
~PerformanceTest
();
27
32
void
testStart
();
33
39
uint64_t
testFinish
();
40
private
:
42
LARGE_INTEGER
startingTime
;
44
LARGE_INTEGER
frequency
;
45
};
46
47
}
//End of Core namespace
Core::PerformanceTest::~PerformanceTest
~PerformanceTest()
Destructs PerformanceTest.
Definition:
PerformanceTest.cpp:10
Core::PerformanceTest::startingTime
LARGE_INTEGER startingTime
The elapsed number of ticks.
Definition:
PerformanceTest.h:42
Core
The namespace for all core code.
Definition:
Logging.cpp:5
Core::PerformanceTest::testFinish
uint64_t testFinish()
A function to get the results of the performance test. This returns the time taken in seconds...
Definition:
PerformanceTest.cpp:20
Core::PerformanceTest::PerformanceTest
PerformanceTest()
Constructs PerformanceTest.
Definition:
PerformanceTest.cpp:6
Logging.h
Core::PerformanceTest::testStart
void testStart()
A function to start the performance test. This is to be called when the test is to be started...
Definition:
PerformanceTest.cpp:14
Core::PerformanceTest::frequency
LARGE_INTEGER frequency
The number of ticks-per-second.
Definition:
PerformanceTest.h:44
Core::PerformanceTest
Contains details and functions for use with testing performance.
Definition:
PerformanceTest.h:15
Generated on Mon Nov 5 2018 12:33:26 for GCP Assignment 1 by
1.8.13