I need to measure computational time of my algorithm with different constants values.
To get accurate results, I think I need to set memory in the same condition (e.g clear memory) before testing each time. My algorithm uses std::vector<double>. Are there any instruction in c++?