Home
last modified time | relevance | path

Searched refs:num_stages (Results 1 – 5 of 5) sorted by relevance

/petsc/src/sys/logging/handler/impls/perfstubs/
H A Dlogperfstubs.c34 PetscInt num_events, num_stages; in PetscLogHandlerDestroy_Perfstubs() local
47 PetscCall(PetscLogPSArrayGetSize(ps->stages, &num_stages, NULL)); in PetscLogHandlerDestroy_Perfstubs()
48 for (PetscInt i = 0; i < num_stages; i++) { in PetscLogHandlerDestroy_Perfstubs()
89 PetscInt num_stages, num_stages_old; in PetscLogHandlerPSUpdateStages() local
93 PetscCall(PetscLogStateGetNumStages(state, &num_stages)); in PetscLogHandlerPSUpdateStages()
95 for (PetscInt i = num_stages_old; i < num_stages; i++) { in PetscLogHandlerPSUpdateStages()
/petsc/src/sys/logging/state/
H A Dlogstate.c92 PetscInt num_stages; in PetscLogStateStagePush() local
93 PetscCall(PetscLogRegistryGetNumStages(state->registry, &num_stages, NULL)); in PetscLogStateStagePush()
94 …>= 0 && stage < num_stages, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Invalid stage %d not in [0… in PetscLogStateStagePush()
450 PetscInt num_events, num_stages; in PetscLogStateClassSetActiveAll() local
454 PetscCall(PetscLogRegistryGetNumStages(state->registry, &num_stages, NULL)); in PetscLogStateClassSetActiveAll()
459 …for (PetscLogStage s = 0; s < num_stages; s++) PetscCall((isActive ? PetscBTSet : PetscBTClear)(st… in PetscLogStateClassSetActiveAll()
H A Dlogregistry.c72 …Code PetscLogRegistryGetNumStages(PetscLogRegistry registry, PetscInt *num_stages, PetscInt *max_s… in PetscLogRegistryGetNumStages() argument
75 PetscCall(PetscLogStageArrayGetSize(registry->stages, num_stages, max_stages)); in PetscLogRegistryGetNumStages()
/petsc/src/ts/trajectory/impls/memory/
H A Dtrajmemory.c82 PetscInt num_stages; member
1585 …type, tjsch->actx->num_units_avail, tjsch->actx->endstep, tjsch->actx->num_stages, &tjsch->actx->n… in TSTrajectoryMemorySet_AOF()
1617 …type, tjsch->actx->num_units_avail, tjsch->actx->endstep, tjsch->actx->num_stages, &tjsch->actx->n… in TSTrajectoryMemorySet_AOF()
1618 …(tjsch->actx->lastcheckpointtype == 2) tjsch->actx->num_units_avail -= tjsch->actx->num_stages + 1; in TSTrajectoryMemorySet_AOF()
1619 … if (tjsch->actx->lastcheckpointtype == 1) tjsch->actx->num_units_avail -= tjsch->actx->num_stages; in TSTrajectoryMemorySet_AOF()
1649 if (e->cptype == STAGESONLY) tjsch->actx->num_units_avail += tjsch->actx->num_stages; in TSTrajectoryMemoryGet_AOF()
1650 if (e->cptype == SOLUTION_STAGES) tjsch->actx->num_units_avail += tjsch->actx->num_stages + 1; in TSTrajectoryMemoryGet_AOF()
1663 …type, tjsch->actx->num_units_avail, tjsch->actx->endstep, tjsch->actx->num_stages, &tjsch->actx->n… in TSTrajectoryMemoryGet_AOF()
1670 if (e->cptype == STAGESONLY) tjsch->actx->num_units_avail -= tjsch->actx->num_stages; in TSTrajectoryMemoryGet_AOF()
1671 if (e->cptype == SOLUTION_STAGES) tjsch->actx->num_units_avail -= tjsch->actx->num_stages + 1; in TSTrajectoryMemoryGet_AOF()
[all …]
/petsc/src/sys/logging/handler/impls/default/
H A Dlogdefault.c702 PetscInt num_stages; in PetscLogHandlerEventsPause_Default() local
706 PetscCall(PetscLogStageInfoArrayGetSize(def->stages, &num_stages, NULL)); in PetscLogHandlerEventsPause_Default()
709 for (PetscInt stage = num_stages - 1; stage >= 0; stage--) { in PetscLogHandlerEventsPause_Default()
736 PetscInt num_stages; in PetscLogHandlerEventsResume_Default() local
740 PetscCall(PetscLogStageInfoArrayGetSize(def->stages, &num_stages, NULL)); in PetscLogHandlerEventsResume_Default()
743 for (PetscInt stage = 0; stage < num_stages; stage++) { in PetscLogHandlerEventsResume_Default()