Utility timestamp_ns() fix (#175)

* Update lib/common/utility.*

- fix timestamp_ns()

* Update samples/**/CMakeLists.txt

- fail test if exception thrown

* source formatting (clang-format v11) (#176)

Co-authored-by: jrmadsen <jrmadsen@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jonathan R. Madsen
2023-11-07 01:43:27 -06:00
committed by GitHub
parent 55f2dabbb3
commit 7a8931e57f
6 changed files with 21 additions and 16 deletions
+2 -1
View File
@@ -57,4 +57,5 @@ set_tests_properties(
"samples"
ENVIRONMENT
"${ROCPROFILER_MEMCHECK_PRELOAD_ENV};HSA_TOOLS_LIB=$<TARGET_FILE:rocprofiler::rocprofiler>"
)
FAIL_REGULAR_EXPRESSION
"threw an exception")