History log of /petsc/src/sys/perfstubs/pstimer.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 834855d6 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-21' into 'main'

clang-format-21

See merge request petsc/petsc!8202


# 3a7d0413 12-May-2025 Pierre Jolivet <pierre@joliv.et>

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}
done

show more ...


# be37439e 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/useless-cast' into 'main'

Remove useless cast

See merge request petsc/petsc!7894


# 835f2295 05-Oct-2024 Stefano Zampini <stefano.zampini@gmail.com>

Brain dead fixes for useless casts


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


# 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


# 6f933394 13-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Sys: Add ps_timer_destroy_ to perfstubs for memory neutrality.


# 766dac26 04-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 47e6cba2 04-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-patch-update' into 'release'

Bump SLEPc and hwloc (patch release)

See merge request petsc/petsc!6278


# 1b6dcdd2 02-Apr-2023 Pierre Jolivet <pierre@joliv.et>

Fix -Wstrict-prototypes


# 72cab902 01-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'adams/sys-timer-fix' into 'main'

fix for hip builds with cray env

See merge request petsc/petsc!5936


# 8525bd49 01-Feb-2023 Mark Adams <524115-markadams4@users.noreply.gitlab.com>

fix for hip builds with cray env


# f092f6cb 11-Nov-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'perfstubs' into 'main'

Add the perfstubs package to petsc.

See merge request petsc/petsc!5516


# a0c7f9aa 11-Nov-2022 Samuel Khuvis <s.khuvis@x-scalesolutions.com>

Add the perfstubs package to petsc.

Example usage:

Configure PETSc with: ./configure --download-mpich
--download-fblaslapack

Build PETSc
Setup TAU:

wget http://tau.uoregon.edu/tau.tgz
./configure

Add the perfstubs package to petsc.

Example usage:

Configure PETSc with: ./configure --download-mpich
--download-fblaslapack

Build PETSc
Setup TAU:

wget http://tau.uoregon.edu/tau.tgz
./configure -cc=mpicc -c++=mpicxx -mpi -bfd=download -unwind=download &&
make install
export PATH=<tau dir>/x86_64/bin:$PATH

Build and run PETSc example with TAU:

cd $PETSC_DIR/src/snes/tutorials
make ex56
mpirun -n 4 tau_exec ./ex56 <args>

This should produce 4 profile...* files with profile data that can be
viewed with paraprof/pprof:

Reading Profile files in profile.*

NODE 0;CONTEXT 0;THREAD 0:
---------------------------------------------------------------------------------------
%Time Exclusive Inclusive #Call #Subrs Inclusive Name
msec total msec usec/call
---------------------------------------------------------------------------------------
100.0 26 1,838 1 41322 1838424 .TAU
application
73.2 1 1,345 2 168 672950
SNESSolve
62.2 3 1,142 2 1282 571442
SNESJacobianEval
62.0 1,136 1,138 2 76 569494
DMPlexJacobianFE
60.1 0.046 1,105 1 32 1105001 Solve
1
15.2 87 279 5 11102 55943 Mesh
Setup
13.2 0.315 241 1 32 241765 Solve
0
7.8 80 144 38785 38785 4
MPI_Allreduce()
7.0 69 128 6 43386 21491
DualSpaceSetUp
6.2 1 114 4 54 28536
PCSetUp
6.0 12 110 2 892 55407
PCSetUp_GAMG+
3.9 70 70 1 0 70888
MPI_Init_thread()
3.7 68 68 41747 0 2 MPI
Collective Sync
3.6 8 66 4 3536 16548
SNESFunctionEval
2.6 45 48 171 171 281
MPI_Bcast()
1.9 34 34 7836 0 4
MPI_Barrier()
1.8 0.567 33 2 68 16912 GAMG
Coarsen

show more ...