Actual source code: logimpldeprecated.h

  1: #pragma once

  3: #include <petscsystypes.h>
  4: #include <petsclogtypes.h>
  5: #include <petsclogdeprecated.h>
  6: #include <petscconf.h>

  8: /* MANSEC = Sys */
  9: /* SUBMANSEC = Log */

 11: /*@C
 12:   PetscClassPerfInfoClear - Deprecated.

 14:   Level: deprecated

 16:   Note:
 17:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
 18:   `PetscLogEventGetPerfInfo()`.

 20: .seealso: [](ch_profiling)
 21: @*/
 22: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "PetscMemzero()", ) static inline PetscErrorCode PetscLogClassPerfInfoClear(PetscClassPerfInfo *a)
 23: {
 24:   return PetscMemzero(a, sizeof(*a));
 25: }

 27: /*@C
 28:   PetscClassPerfLogCreate - Deprecated.

 30:   Level: deprecated

 32:   Note:
 33:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
 34:   `PetscLogEventGetPerfInfo()`.

 36: .seealso: [](ch_profiling)
 37: @*/
 38: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassPerfLog is no longer used.") static inline PetscErrorCode PetscLogClassPerfLogCreate(PetscClassPerfLog *a)
 39: {
 40:   *a = NULL;
 41:   return PETSC_SUCCESS;
 42: }

 44: /*@C
 45:   PetscClassPerfLogCreate - Deprecated.

 47:   Level: deprecated

 49:   Note:
 50:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
 51:   `PetscLogEventGetPerfInfo()`.

 53: .seealso: [](ch_profiling)
 54: @*/
 55: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassPerfLog is no longer used.") static inline PetscErrorCode PetscLogClassPerfLogDestroy(PetscClassPerfLog a)
 56: {
 57:   (void)a;
 58:   return PETSC_SUCCESS;
 59: }

 61: /*@C
 62:   PetscClassPerfLogEnsureSize - Deprecated.

 64:   Level: deprecated

 66:   Note:
 67:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
 68:   `PetscLogEventGetPerfInfo()`.

 70: .seealso: [](ch_profiling)
 71: @*/
 72: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassPerfLog is no longer used.") static inline PetscErrorCode PetscClassPerfLogEnsureSize(PetscClassPerfLog a, int b)
 73: {
 74:   (void)a;
 75:   (void)b;
 76:   return PETSC_SUCCESS;
 77: }

 79: /*@C
 80:   PetscClassRegInfoDestroy - Deprecated.

 82:   Level: deprecated

 84:   Note:
 85:   Registration data for logging is now controlled by `PetscLogState`.

 87: .seealso: [](ch_profiling)
 88: @*/
 89: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegInfo is no longer used.") static inline PetscErrorCode PetscClassRegInfoDestroy(PetscClassRegInfo *c)
 90: {
 91:   (void)c;
 92:   return PETSC_SUCCESS;
 93: }

 95: /*@C
 96:   PetscClassRegLogCreate - Deprecated.

 98:   Level: deprecated

100:   Note:
101:   Registration data for logging is now controlled by `PetscLogState`.

103: .seealso: [](ch_profiling)
104: @*/
105: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogCreate(PetscClassRegLog *c)
106: {
107:   *c = NULL;
108:   return PETSC_SUCCESS;
109: }

111: /*@C
112:   PetscClassRegLogDestroy - Deprecated.

114:   Level: deprecated

116:   Note:
117:   Registration data for logging is now controlled by `PetscLogState`.

119: .seealso: [](ch_profiling)
120: @*/
121: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogDestroy(PetscClassRegLog c)
122: {
123:   (void)c;
124:   return PETSC_SUCCESS;
125: }

127: /*@C
128:   PetscClassRegLogGetClass - Deprecated.

130:   Level: deprecated

132:   Note:
133:   Registration data for logging is now controlled by `PetscLogState`.

135: .seealso: [](ch_profiling), `PetscLogStateGetClassFromClassId()`
136: @*/
137: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogGetClass(PetscClassRegLog c, PetscClassId d, int *e)
138: {
139:   (void)c;
140:   (void)d;
141:   *e = -1;
142:   return PETSC_SUCCESS;
143: }

145: /*@C
146:   PetscClassRegLogRegister - Deprecated.

148:   Level: deprecated

150:   Note:
151:   Registration data for logging is now controlled by `PetscLogState`.

153: .seealso: [](ch_profiling), `PetscLogStateClassRegister()`
154: @*/
155: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogRegister(PetscClassRegLog a, const char *b, PetscClassId c)
156: {
157:   (void)a;
158:   (void)b;
159:   (void)c;
160:   return PETSC_SUCCESS;
161: }

163: /*MC
164:   PetscEventPerfInfoAdd - Deprecated.

166:   Level: deprecated

168:   Note:
169:   `PetscEventPerfInfo` is data obtained from the default log handler with `PetscLogEventGetPerfInfo()`.  It is now "plain old data":
170:   PETSc provides no functions for its manipulation.

172: .seealso: [](ch_profiling), `PetscEventPerfInfo`
173: M*/

175: /*@C
176:   PetscEventPerfInfoClear - Deprecated.

178:   Level: deprecated

180:   Note:
181:   `PetscEventPerfInfo` is data obtained from the default log handler with `PetscLogEventGetPerfInfo()`.  It is now "plain old data":
182:   PETSc provides no functions for its manipulation.

184: .seealso: [](ch_profiling), `PetscEventPerfInfo`
185: @*/
186: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "PetscMemzero()", ) static inline PetscErrorCode PetscEventPerfInfoClear(PetscEventPerfInfo *a)
187: {
188:   return PetscMemzero(a, sizeof(*a));
189: }

191: /*@C
192:   PetscEventPerfInfoCopy - Deprecated.

194:   Level: deprecated

196:   Note:
197:   `PetscEventPerfInfo` is data obtained from the default log handler with `PetscLogEventGetPerfInfo()`.  It is now "plain old data":
198:   PETSc provides no functions for its manipulation.

200: .seealso: [](ch_profiling), `PetscEventPerfInfo`
201: @*/
202: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "PetscMemcpy()", ) static inline PetscErrorCode PetscEventPerfInfoCopy(PetscEventPerfInfo *a, PetscEventPerfInfo *b)
203: {
204:   return PetscMemcpy(a, b, sizeof(*a));
205: }

207: /*@C
208:   PetscEventPerfLogActivate - Deprecated.

210:   Level: deprecated

212:   Note:
213:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
214:   `PetscLogEventGetPerfInfo()`.

216: .seealso: [](ch_profiling)
217: @*/
218: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogActivate(PetscEventPerfLog a, PetscLogEvent b)
219: {
220:   (void)a;
221:   (void)b;
222:   return PETSC_SUCCESS;
223: }

225: /*@C
226:   PetscEventPerfLogActivateClass - Deprecated.

228:   Level: deprecated

230:   Note:
231:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
232:   `PetscLogEventGetPerfInfo()`.

234: .seealso: [](ch_profiling)
235: @*/
236: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogActivateClass(PetscEventPerfLog a, PetscEventRegLog b, PetscClassId c)
237: {
238:   (void)a;
239:   (void)b;
240:   (void)c;
241:   return PETSC_SUCCESS;
242: }

244: /*@C
245:   PetscEventPerfLogCreate - Deprecated

247:   Level: deprecated

249:   Note:
250:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
251:   `PetscLogEventGetPerfInfo()`.

253: .seealso: [](ch_profiling)
254: @*/
255: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogCreate(PetscEventPerfLog *a)
256: {
257:   *a = NULL;
258:   return PETSC_SUCCESS;
259: }

261: /*@C
262:   PetscEventPerfLogDeactivate - Deprecated

264:   Level: deprecated

266:   Note:
267:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
268:   `PetscLogEventGetPerfInfo()`.

270: .seealso: [](ch_profiling)
271: @*/
272: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivate(PetscEventPerfLog a, PetscLogEvent b)
273: {
274:   (void)a;
275:   (void)b;
276:   return PETSC_SUCCESS;
277: }

279: /*@C
280:   PetscEventPerfLogDeactivateClass - Deprecated

282:   Level: deprecated

284:   Note:
285:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
286:   `PetscLogEventGetPerfInfo()`.

288: .seealso: [](ch_profiling)
289: @*/
290: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivateClass(PetscEventPerfLog a, PetscEventRegLog b, PetscClassId c)
291: {
292:   (void)a;
293:   (void)b;
294:   (void)c;
295:   return PETSC_SUCCESS;
296: }

298: /*@C
299:   PetscEventPerfLogDeactivatePop - Deprecated

301:   Level: deprecated

303:   Note:
304:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
305:   `PetscLogEventGetPerfInfo()`.

307: .seealso: [](ch_profiling)
308: @*/
309: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivatePop(PetscEventPerfLog a, PetscLogEvent b)
310: {
311:   (void)a;
312:   (void)b;
313:   return PETSC_SUCCESS;
314: }

316: /*@C
317:   PetscEventPerfLogDeactivatePush - Deprecated

319:   Level: deprecated

321:   Note:
322:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
323:   `PetscLogEventGetPerfInfo()`.

325: .seealso: [](ch_profiling)
326: @*/
327: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivatePush(PetscEventPerfLog a, PetscLogEvent b)
328: {
329:   (void)a;
330:   (void)b;
331:   return PETSC_SUCCESS;
332: }

334: /*@C
335:   PetscEventPerfLogDestroy - Deprecated

337:   Level: deprecated

339:   Note:
340:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
341:   `PetscLogEventGetPerfInfo()`.

343: .seealso: [](ch_profiling)
344: @*/
345: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDestroy(PetscEventPerfLog a)
346: {
347:   (void)a;
348:   return PETSC_SUCCESS;
349: }

351: /*@C
352:   PetscEventPerfLogEnsureSize - Deprecated

354:   Level: deprecated

356:   Note:
357:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
358:   `PetscLogEventGetPerfInfo()`.

360: .seealso: [](ch_profiling)
361: @*/
362: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogEnsureSize(PetscEventPerfLog a, int b)
363: {
364:   (void)a;
365:   (void)b;
366:   return PETSC_SUCCESS;
367: }

369: /*@C
370:   PetscEventPerfLogGetVisible - Deprecated

372:   Level: deprecated

374:   Note:
375:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
376:   `PetscLogEventGetPerfInfo()`.

378: .seealso: [](ch_profiling)
379: @*/
380: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogGetVisible(PetscEventPerfLog a, PetscLogEvent b, PetscBool *c)
381: {
382:   (void)a;
383:   (void)b;
384:   *c = PETSC_TRUE;
385:   return PETSC_SUCCESS;
386: }

388: /*@C
389:   PetscEventPerfLogSetVisible - Deprecated

391:   Level: deprecated

393:   Note:
394:   Performance data is now controlled by `PetscLogHandler`s.  Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
395:   `PetscLogEventGetPerfInfo()`.

397: .seealso: [](ch_profiling)
398: @*/
399: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogSetVisible(PetscEventPerfLog a, PetscLogEvent b, PetscBool c)
400: {
401:   (void)a;
402:   (void)b;
403:   (void)c;
404:   return PETSC_SUCCESS;
405: }

407: /*@C
408:   PetscEventRegLogCreate - Deprecated

410:   Level: deprecated

412:   Note:
413:   Registration data for logging is now controlled by `PetscLogState`.

415: .seealso: [](ch_profiling)
416: @*/
417: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogCreate(PetscEventRegLog *a)
418: {
419:   *a = NULL;
420:   return PETSC_SUCCESS;
421: }

423: /*@C
424:   PetscEventRegLogDestroy - Deprecated

426:   Level: deprecated

428:   Note:
429:   Registration data for logging is now controlled by `PetscLogState`.

431: .seealso: [](ch_profiling)
432: @*/
433: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogDestroy(PetscEventRegLog a)
434: {
435:   (void)a;
436:   return PETSC_SUCCESS;
437: }

439: /*@C
440:   PetscEventRegLogGetEvent - Deprecated

442:   Level: deprecated

444:   Note:
445:   Registration data for logging is now controlled by `PetscLogState`.

447: .seealso: [](ch_profiling), `PetscLogEventGetId()`
448: @*/
449: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogGetEvent(PetscEventRegLog a, const char *b, PetscLogEvent *c)
450: {
451:   (void)a;
452:   (void)b;
453:   *c = -1;
454:   return PETSC_SUCCESS;
455: }

457: /*@C
458:   PetscEventRegLogRegister - Deprecated

460:   Level: deprecated

462:   Note:
463:   Registration data for logging is now controlled by `PetscLogState`.

465: .seealso: [](ch_profiling), `PetscLogEventRegister()`
466: @*/
467: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogRegister(PetscEventRegLog a, const char *b, PetscClassId c, PetscLogEvent *d)
468: {
469:   (void)a;
470:   (void)b;
471:   (void)c;
472:   *d = -1;
473:   return PETSC_SUCCESS;
474: }

476: /*MC
477:   PetscLogMPEGetRGBColor - Deprecated.

479:   Level: deprecated

481: .seealso: [](ch_profiling)
482: M*/

484: /*MC
485:   PetscStageInfoDestroy - Deprecated.

487:   Level: deprecated

489:   Note:
490:   Registration data for logging is now controlled by `PetscLogState`.

492: .seealso: [](ch_profiling)
493: M*/

495: /*MC
496:   PetscStageLogGetEventPerfLog - Deprecated.

498:   Level: deprecated

500:   Note:
501:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
502:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

504: .seealso: [](ch_profiling), `PetscLogEventGetPerfInfo()`
505: M*/

507: /*@C
508:   PetscStageLogCreate - Deprecated

510:   Level: deprecated

512:   Note:
513:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
514:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

516: .seealso: [](ch_profiling)
517: @*/
518: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogCreate(PetscStageLog *a)
519: {
520:   *a = NULL;
521:   return PETSC_SUCCESS;
522: }

524: /*@C
525:   PetscStageLogDestroy - Deprecated

527:   Level: deprecated

529:   Note:
530:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
531:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

533: .seealso: [](ch_profiling)
534: @*/
535: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogDestroy(PetscStageLog a)
536: {
537:   (void)a;
538:   return PETSC_SUCCESS;
539: }

541: /*@C
542:   PetscStageLogGetActive - Deprecated

544:   Level: deprecated

546:   Note:
547:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
548:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

550: .seealso: [](ch_profiling)
551: @*/
552: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetActive(PetscStageLog a, int b, PetscBool *c)
553: {
554:   (void)a;
555:   (void)b;
556:   *c = PETSC_TRUE;
557:   return PETSC_SUCCESS;
558: }

560: /*@C
561:   PetscStageLogGetClassPerfLog - Deprecated

563:   Level: deprecated

565:   Note:
566:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
567:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

569: .seealso: [](ch_profiling)
570: @*/
571: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetClassPerfLog(PetscStageLog a, int b, PetscClassPerfLog *c)
572: {
573:   (void)a;
574:   (void)b;
575:   *c = NULL;
576:   return PETSC_SUCCESS;
577: }

579: /*@C
580:   PetscStageLogGetClassRegLog - Deprecated

582:   Level: deprecated

584:   Note:
585:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
586:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

588: .seealso: [](ch_profiling)
589: @*/
590: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetClassRegLog(PetscStageLog a, PetscClassRegLog *c)
591: {
592:   (void)a;
593:   *c = NULL;
594:   return PETSC_SUCCESS;
595: }

597: /*@C
598:   PetscStageLogGetEventRegLog - Deprecated

600:   Level: deprecated

602:   Note:
603:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
604:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

606: .seealso: [](ch_profiling)
607: @*/
608: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetEventRegLog(PetscStageLog a, PetscEventRegLog *c)
609: {
610:   (void)a;
611:   *c = NULL;
612:   return PETSC_SUCCESS;
613: }

615: /*@C
616:   PetscStageLogGetStage - Deprecated

618:   Level: deprecated

620:   Note:
621:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
622:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

624: .seealso: [](ch_profiling)
625: @*/
626: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetStage(PetscStageLog a, const char *b, PetscLogStage *c)
627: {
628:   (void)a;
629:   (void)b;
630:   *c = -1;
631:   return PETSC_SUCCESS;
632: }

634: /*@C
635:   PetscStageLogGetVisible - Deprecated

637:   Level: deprecated

639:   Note:
640:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
641:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

643: .seealso: [](ch_profiling)
644: @*/
645: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetVisible(PetscStageLog a, int b, PetscBool *c)
646: {
647:   (void)a;
648:   (void)b;
649:   *c = PETSC_TRUE;
650:   return PETSC_SUCCESS;
651: }

653: /*@C
654:   PetscStageLogPop - Deprecated

656:   Level: deprecated

658:   Note:
659:   PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
660:   The global logging state is obtained with `PetscLogGetState()`; many log handlers may be used at once (`PetscLogHandlerStart()`) and the default log handler is not directly accessible.

662: .seealso: [](ch_profiling)
663: @*/
664: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogPop(PetscStageLog a)
665: {
666:   (void)a;
667:   return PETSC_SUCCESS;
668: }

670: /*@C
671:   PetscStageLogPush - Deprecated

673:   Level: deprecated

675: .seealso: [](ch_profiling)
676: @*/
677: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogPush(PetscStageLog a, int b)
678: {
679:   (void)a;
680:   (void)b;
681:   return PETSC_SUCCESS;
682: }

684: /*@C
685:   PetscStageLogRegister - Deprecated

687:   Level: deprecated

689: .seealso: [](ch_profiling)
690: @*/
691: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogRegister(PetscStageLog a, const char *b, int *c)
692: {
693:   (void)a;
694:   (void)b;
695:   *c = -1;
696:   return PETSC_SUCCESS;
697: }

699: /*@C
700:   PetscStageLogSetActive - Deprecated

702:   Level: deprecated

704: .seealso: [](ch_profiling)
705: @*/
706: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogSetActive(PetscStageLog a, int b, PetscBool c)
707: {
708:   (void)a;
709:   (void)b;
710:   (void)c;
711:   return PETSC_SUCCESS;
712: }

714: /*@C
715:   PetscStageLogSetVisible - Deprecated

717:   Level: deprecated

719: .seealso: [](ch_profiling)
720: @*/
721: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogSetVisible(PetscStageLog a, int b, PetscBool c)
722: {
723:   (void)a;
724:   (void)b;
725:   (void)c;
726:   return PETSC_SUCCESS;
727: }