History log of /petsc/src/sys/tests/output/ex30_2.out (Results 1 – 2 of 2)
Revision Date Author Comments
# 6c37f76f 27-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-log-handler' into 'main'

Deglobalize logging into PetscLogHandler and PetscLogState

See merge request petsc/petsc!6709


# 02aabc32 14-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Profiling: Add tests of PetscLogHandler to sys/tests/ex30.c

- The pattern of events and stages is made more complicated
to test the fact that nested logging can represent nested
stages now.

- T

Profiling: Add tests of PetscLogHandler to sys/tests/ex30.c

- The pattern of events and stages is made more complicated
to test the fact that nested logging can represent nested
stages now.

- To test perfstubs without adding TAU as an optional dependency,
a dummy perfstubs tool implementation is tested.

New tests:

- 0: tests the fact that events and stages can be registered
in different orders for different processes (at least
for the default log handler: this is not true of all external tools
like MPE)

- 1: Test flamegraph (nested log handler)

- 2: Test trace log handler

- 3: Test PetscLogDump() output with actions and objects logging
Note that this test uses the "temporaries:" test key for the
dump file Log.0

- 4: Test CSV output

- 5: Test MPE log handler
MPE logging creates a .clog2 binary file. Without trying
to add a dependency to turn it into text, if we use
`strings` we can at least see if the names of the events
created in the test are in the file

- 6: Test perfstubs
Because this relies on dlsym(RTLD_DEFAULT, ...) dynamic linking, this
test can only be run on linux

show more ...