To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 112ce386 authored by Donjan Rodic's avatar Donjan Rodic

added include to timer to make it order-independent

parent 116e0a74
......@@ -4,6 +4,7 @@
#define HPCSE16_TIMER_HPP
#include <sys/time.h>
#include <cwchar> // for NULL
class timer {
public:
......
#include "timer.hpp"
#include <iostream>
#include <iomanip>
#include <cmath>
#include <vector>
#include <thread>
#include <mutex>
#include "timer.hpp"
double f(double x)
{
......
......@@ -3,4 +3,4 @@ for i in 1 2 4 6 8 10 12 14 16 18 20 22 24
do
./integral_mt $i >> out.txt
done
grep -v WARNING out.txt | awk -F'[ =]' '{print $2" "$4}' > out.dat
......@@ -4,6 +4,7 @@
#define HPCSE16_TIMER_HPP
#include <sys/time.h>
#include <cwchar> // for NULL
class timer {
public:
......
......@@ -4,6 +4,7 @@
#define HPCSE16_TIMER_HPP
#include <sys/time.h>
#include <cwchar> // for NULL
class timer {
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment