File diff r27165:ea28ecab6159 → r27166:64e04a3ef9b1
src/newgrf_profiling.h
Show inline comments
 
@@ -9,12 +9,13 @@
 

	
 
#ifndef NEWGRF_PROFILING_H
 
#define NEWGRF_PROFILING_H
 

	
 
#include "stdafx.h"
 
#include "date_type.h"
 
#include "timer/timer_game_calendar.h"
 
#include "newgrf.h"
 
#include "newgrf_callbacks.h"
 
#include "newgrf_spritegroup.h"
 

	
 
#include <vector>
 
#include <string>
 
@@ -55,9 +56,9 @@ struct NewGRFProfiler {
 
	uint64 start_tick;       ///< Tick number this profiler was started on
 
	Call cur_call;           ///< Data for current call in progress
 
	std::vector<Call> calls; ///< All calls collected so far
 
};
 

	
 
extern std::vector<NewGRFProfiler> _newgrf_profilers;
 
extern Date _newgrf_profile_end_date;
 
extern TimerGameCalendar::Date _newgrf_profile_end_date;
 

	
 
#endif /* NEWGRF_PROFILING_H */