GCP Assignment 1
Public Member Functions | Private Attributes | List of all members
Core::PerformanceTest Class Reference

Contains details and functions for use with testing performance. More...

#include <PerformanceTest.h>

Collaboration diagram for Core::PerformanceTest:
Collaboration graph

Public Member Functions

 PerformanceTest ()
 Constructs PerformanceTest. More...
 
 ~PerformanceTest ()
 Destructs PerformanceTest. More...
 
void testStart ()
 A function to start the performance test. This is to be called when the test is to be started. More...
 
uint64_t testFinish ()
 A function to get the results of the performance test. This returns the time taken in seconds. More...
 

Private Attributes

LARGE_INTEGER startingTime
 The elapsed number of ticks. More...
 
LARGE_INTEGER frequency
 The number of ticks-per-second. More...
 

Detailed Description

Contains details and functions for use with testing performance.

Author
Jamie Slowgrove

Constructor & Destructor Documentation

◆ PerformanceTest()

Core::PerformanceTest::PerformanceTest ( )

Constructs PerformanceTest.

◆ ~PerformanceTest()

Core::PerformanceTest::~PerformanceTest ( )

Destructs PerformanceTest.

Member Function Documentation

◆ testFinish()

uint64_t Core::PerformanceTest::testFinish ( )

A function to get the results of the performance test. This returns the time taken in seconds.

Returns
The time taken in seconds.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ testStart()

void Core::PerformanceTest::testStart ( )

A function to start the performance test. This is to be called when the test is to be started.

Here is the caller graph for this function:

Member Data Documentation

◆ frequency

LARGE_INTEGER Core::PerformanceTest::frequency
private

The number of ticks-per-second.

◆ startingTime

LARGE_INTEGER Core::PerformanceTest::startingTime
private

The elapsed number of ticks.


The documentation for this class was generated from the following files: