diff options
| author | Japa | 2011-07-15 18:52:08 +0000 |
|---|---|---|
| committer | Japa | 2011-07-15 18:52:08 +0000 |
| commit | 4ee55769c03396a7b0b997afc625f61d15d31e6f (patch) | |
| tree | 10a0ced7c432c16f072d11d24f222cbdd570db64 /MapLoading.cpp | |
| parent | 053e3dafbb59c27d8464aded9d1942ac7d7c35b8 (diff) | |
| download | stonesense-4ee55769c03396a7b0b997afc625f61d15d31e6f.tar.gz stonesense-4ee55769c03396a7b0b997afc625f61d15d31e6f.tar.bz2 stonesense-4ee55769c03396a7b0b997afc625f61d15d31e6f.tar.xz | |
Added a few debug things.
Diffstat (limited to 'MapLoading.cpp')
| -rw-r--r-- | MapLoading.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MapLoading.cpp b/MapLoading.cpp index 72abf1f..b096f5e 100644 --- a/MapLoading.cpp +++ b/MapLoading.cpp @@ -576,7 +576,7 @@ bool checkFloorBorderRequirement(WorldSegment* segment, int x, int y, int z, dir WorldSegment* ReadMapSegment(DFHack::Context &DF, int x, int y, int z, int sizex, int sizey, int sizez){
uint32_t index;
- TMR2_START;
+ clock_t start_time = clock();
DFHack::Maps *Maps;
if(!config.skipMaps)
{
@@ -936,7 +936,7 @@ WorldSegment* ReadMapSegment(DFHack::Context &DF, int x, int y, int z, int sizex Maps->Finish();
segment->loaded = 1;
- TMR2_STOP;
+ segment->read_time = clock() - start_time;
segment->processed = 0;
|
