Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main() {
- auto start = std::chrono::high_resolution_clock::now();
- for (int i = 0; i < 100000; i++) {
- fopen("test.txt", "wb");
- }
- auto end = std::chrono::high_resolution_clock::now();
- std::cout << std::chrono::duration<double>(end - start).count() << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement