Guest User

Untitled

a guest
Jun 27th, 2015
206
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (data->map_invalidated) {
  2. if (data->mode != MINIMAP_MODE_OFF) {
  3. u32 start_ms = porting::getTimeMs();
  4. getMap(data->pos, data->map_size, data->scan_height, data->radar);
  5. u32 end_ms = porting::getTimeMs();
  6. dstream<<"Time taken (ms): "<<end_ms-start_ms<<std::endl;
  7. data->map_invalidated = false;
  8. }
  9. }
RAW Paste Data