A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify models apis
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
5c083d5
..
0c5fbb5
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-381,8
+381,8
@@
int CpuTiTrace::binarySearch(double *array, double a, int low, int high)
static void cpu_ti_define_callbacks()
{
static void cpu_ti_define_callbacks()
{
- sg_platf_host_add_cb(
parse_cpu
_init);
- sg_platf_postparse_add_cb(
add_traces_cpu
);
+ sg_platf_host_add_cb(
cpu_parse
_init);
+ sg_platf_postparse_add_cb(
cpu_add_traces
);
}
/*********
}
/*********
@@
-427,7
+427,7
@@
CpuTiModel::~CpuTiModel()
xbt_heap_free(p_tiActionHeap);
}
xbt_heap_free(p_tiActionHeap);
}
-CpuPtr CpuTiModel::create
Resource
(const char *name,
+CpuPtr CpuTiModel::create
Cpu
(const char *name,
xbt_dynar_t powerPeak,
int pstate,
double powerScale,
xbt_dynar_t powerPeak,
int pstate,
double powerScale,