Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
wwprofile.cpp File Reference
#include "always.h"
#include "wwprofile.h"
#include "fastallocator.h"
#include "wwdebug.h"
#include <windows.h>
#include "systimer.h"
#include "rawfile.h"
#include "ffactory.h"
#include "simplevec.h"
#include "cpudetect.h"
#include "hashtemplate.h"
#include <stdio.h>

Go to the source code of this file.

Functions

unsigned WWProfile_Get_System_Time ()
 
WWINLINE double WWProfile_Get_Inv_Processor_Ticks_Per_Second (void)
 
void WWProfile_Get_Ticks (_int64 *ticks)
 
unsigned Read_Int (char *memory, unsigned pos, unsigned maxpos, unsigned &number)
 
unsigned Read_String (char *memory, unsigned pos, unsigned maxpos, char *string)
 
unsigned Read_Float (char *memory, unsigned pos, unsigned maxpos, float &fnumber)
 

Function Documentation

◆ Read_Float()

unsigned Read_Float ( char * memory,
unsigned pos,
unsigned maxpos,
float & fnumber )

Definition at line 685 of file wwprofile.cpp.

◆ Read_Int()

unsigned Read_Int ( char * memory,
unsigned pos,
unsigned maxpos,
unsigned & number )

Definition at line 657 of file wwprofile.cpp.

◆ Read_String()

unsigned Read_String ( char * memory,
unsigned pos,
unsigned maxpos,
char * string )

Definition at line 671 of file wwprofile.cpp.

◆ WWProfile_Get_Inv_Processor_Ticks_Per_Second()

WWINLINE double WWProfile_Get_Inv_Processor_Ticks_Per_Second ( void )

Definition at line 78 of file wwprofile.cpp.

◆ WWProfile_Get_System_Time()

unsigned WWProfile_Get_System_Time ( )

Definition at line 73 of file wwprofile.cpp.

◆ WWProfile_Get_Ticks()

void WWProfile_Get_Ticks ( _int64 * ticks)
inline

Definition at line 99 of file wwprofile.cpp.