diff --git a/src/CPU.cpp b/src/CPU.cpp index 3057dd5..741b987 100644 --- a/src/CPU.cpp +++ b/src/CPU.cpp @@ -109,30 +109,6 @@ void getProcedureOverhead(std::vector &overhead){ } double getSystemCallOverhead() { - uint64_t start, end; - int SUC_TIMES = 0; - pid_t pid; - double sum = 0; - for (int i=0; i procedureOverhead; getProcedureOverhead(procedureOverhead); for (int i=0; i<8; ++i) { - printf("The average ovehead of a function with %d integer arguments is %f\n", i, procedureOverhead[i]); + printf("The average overhead of a function with %d integer arguments is %f\n", i, procedureOverhead[i]); } for (int i=0; i