Misc fixes before v1.8.0 release (#239)
* Update timemory submodule for OMPT - Updated OMPT support for OpenMP 5.2 * omnitrace exe cleanup - fixed "omnitrace --" segfault - added nullptr checks * CMake updates - moved omnitrace-interface-library definition up a directory - general cleanup - fixed branch/tag/ref for git submodule checkouts * Improve shutdown of causal profiling after duration limit * Fix dyninst minimum version number * Removed debug print from binary::get_link_map * Remove use of thread-pool in causal * Relax causal testing when variance is high * causal_gotcha utilities for blocking signals * Tweak to causal example * Install validate-causal-json as omnitrace-causal-print * simplify address_multirange * improve causal line saving
Esse commit está contido em:
1 pai
32b15fe7b7
commit
aadffbe2b1
21 files changed
+244
-96
No files matched your search
@@ -23,6 +23,7 @@
|
||||
#include "library/causal/delay.hpp"
|
||||
#include "core/state.hpp"
|
||||
#include "core/utility.hpp"
|
||||
#include "library/causal/components/causal_gotcha.hpp"
|
||||
#include "library/causal/experiment.hpp"
|
||||
#include "library/runtime.hpp"
|
||||
#include "library/thread_data.hpp"
|
||||
@@ -108,10 +109,12 @@ delay::process()
|
||||
}
|
||||
else if(get_global() > get_local())
|
||||
{
|
||||
::omnitrace::causal::component::causal_gotcha::block_signals();
|
||||
auto _beg = tracing::now();
|
||||
std::this_thread::sleep_for(
|
||||
std::chrono::nanoseconds{ get_global() - get_local() });
|
||||
get_local() += (tracing::now() - _beg);
|
||||
::omnitrace::causal::component::causal_gotcha::unblock_signals();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Bloquear um usuário