train_cmd.c
changeset 3947 7ab994b0fe9c
parent 3934 6d178534fbaf
child 3948 95f9fa0ac551
equal deleted inserted replaced
3946:c9e039a60682 3947:7ab994b0fe9c
  2210 			/* Discard enterdir information, making it a normal track */
  2210 			/* Discard enterdir information, making it a normal track */
  2211 			best_track = TrackdirToTrack(ftd.best_trackdir);
  2211 			best_track = TrackdirToTrack(ftd.best_trackdir);
  2212 		}
  2212 		}
  2213 
  2213 
  2214 		time = NpfEndInterval(perf);
  2214 		time = NpfEndInterval(perf);
  2215 		DEBUG(yapf, 1)("[YAPF][NPFT] %d us - %d rounds - %d open - %d closed -- ", time, 0, _aystar_stats_open_size, _aystar_stats_closed_size);
  2215 		DEBUG(yapf, 4)("[YAPF][NPFT] %d us - %d rounds - %d open - %d closed -- ", time, 0, _aystar_stats_open_size, _aystar_stats_closed_size);
  2216 	} else {
  2216 	} else {
  2217 		void* perf = NpfBeginInterval();
  2217 		void* perf = NpfBeginInterval();
  2218 		int time = 0;
  2218 		int time = 0;
  2219 
  2219 
  2220 		FillWithStationData(&fd, v);
  2220 		FillWithStationData(&fd, v);
  2233 		} else {
  2233 		} else {
  2234 			best_track = fd.best_track & 7;
  2234 			best_track = fd.best_track & 7;
  2235 		}
  2235 		}
  2236 
  2236 
  2237 		time = NpfEndInterval(perf);
  2237 		time = NpfEndInterval(perf);
  2238 		DEBUG(yapf, 1)("[YAPF][NTPT] %d us - %d rounds - %d open - %d closed -- ", time, 0, 0, 0);
  2238 		DEBUG(yapf, 4)("[YAPF][NTPT] %d us - %d rounds - %d open - %d closed -- ", time, 0, 0, 0);
  2239 	}
  2239 	}
  2240 
  2240 
  2241 #ifdef PF_BENCHMARK
  2241 #ifdef PF_BENCHMARK
  2242 	TOC("PF time = ", 1)
  2242 	TOC("PF time = ", 1)
  2243 #endif
  2243 #endif