Commit 1bcf9a54 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Add test to follow multi-threading.

parent d5ad4065
Pipeline #10176 failed with stage
in 2 minutes and 23 seconds
/* Copyright 2019, LAAS-CNRS
* Olivier Stasse
#include <sstream>
#include <fstream>
#include <iostream>
#include <unistd.h>
#include <dynamic-graph/process-list.hh>
#define BOOST_TEST_MODULE debug-trace
#include <boost/test/unit_test.hpp>
#include <boost/test/output_test_stream.hpp>
using boost::test_tools::output_test_stream;
dynamicgraph::CPU::System aSystem;
// create and open a character archive for output
std::ofstream ofs("cpu_state.dat");
boost::archive::text_oarchive oa(ofs);
oa << aSystem;
for(unsigned int i=0;i<10;i++)
Supports Markdown
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