Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Introduce sg_storage_size_t type
[simgrid.git] / src / surf / cpu_cas01.c
index 9090cb4..3430431 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2011. The SimGrid Team.
+/* Copyright (c) 2009-2013. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@ static xbt_swag_t
 
 /* Additionnal callback function to cleanup some data, called from surf_resource_free */
 
-static void cpu_cas1_cleanup(void* r){
+static void cpu_cas01_cleanup(void* r){
   cpu_Cas01_t cpu = (cpu_Cas01_t)r;
   unsigned int iter;
   xbt_dynar_t power_tuple = NULL;
@@ -53,7 +53,7 @@ static void *cpu_create_resource(const char *name, xbt_dynar_t power_peak,
              name);
   cpu = (cpu_Cas01_t) surf_resource_new(sizeof(s_cpu_Cas01_t),
                                         surf_cpu_model, name,
-                                        cpu_properties,  &cpu_cas1_cleanup);
+                                        cpu_properties,  &cpu_cas01_cleanup);
   cpu->power_peak = xbt_dynar_get_as(power_peak, pstate, double);
   cpu->power_peak_list = power_peak;
   cpu->pstate = pstate;