* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "surf/surf_private.h"
#include "xbt/xbt_os_time.h"
#define BILLION 1000000000L;
#include "surf/surf_private.h"
#include "xbt/xbt_os_time.h"
#define BILLION 1000000000L;
- SD_workstation_t w1, w2;
- const SD_workstation_t *workstations;
- int i, j;
- int list_size;
- xbt_os_timer_t timer = xbt_os_timer_new();
+ SD_workstation_t w1, w2;
+ const SD_workstation_t *workstations;
+ int i, j;
+ int list_size;
+ xbt_os_timer_t timer = xbt_os_timer_new();
- xbt_os_timer_start(timer);
- SD_route_get_list(w1, w2);
- xbt_os_timer_stop(timer);
+ xbt_os_cputimer_start(timer);
+ SD_route_get_list(w1, w2);
+ xbt_os_cputimer_stop(timer);