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: /* SUBMANSEC = Profiling */
10: /*@C
11: PetscClassPerfInfoClear - Deprecated.
13: Level: deprecated
15: Note:
16: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
17: `PetscLogEventGetPerfInfo()`.
19: .seealso: [](ch_profiling)
20: @*/
21: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "PetscMemzero()", ) static inline PetscErrorCode PetscLogClassPerfInfoClear(PetscClassPerfInfo *a)
22: {
23: return PetscMemzero(a, sizeof(*a));
24: }
26: /*@C
27: PetscClassPerfLogCreate - Deprecated.
29: Level: deprecated
31: Note:
32: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
33: `PetscLogEventGetPerfInfo()`.
35: .seealso: [](ch_profiling)
36: @*/
37: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassPerfLog is no longer used.") static inline PetscErrorCode PetscLogClassPerfLogCreate(PetscClassPerfLog *a)
38: {
39: *a = NULL;
40: return PETSC_SUCCESS;
41: }
43: /*@C
44: PetscClassPerfLogCreate - Deprecated.
46: Level: deprecated
48: Note:
49: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
50: `PetscLogEventGetPerfInfo()`.
52: .seealso: [](ch_profiling)
53: @*/
54: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassPerfLog is no longer used.") static inline PetscErrorCode PetscLogClassPerfLogDestroy(PetscClassPerfLog a)
55: {
56: (void)a;
57: return PETSC_SUCCESS;
58: }
60: /*@C
61: PetscClassPerfLogEnsureSize - Deprecated.
63: Level: deprecated
65: Note:
66: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
67: `PetscLogEventGetPerfInfo()`.
69: .seealso: [](ch_profiling)
70: @*/
71: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassPerfLog is no longer used.") static inline PetscErrorCode PetscClassPerfLogEnsureSize(PetscClassPerfLog a, int b)
72: {
73: (void)a;
74: (void)b;
75: return PETSC_SUCCESS;
76: }
78: /*@C
79: PetscClassRegInfoDestroy - Deprecated.
81: Level: deprecated
83: Note:
84: Registration data for logging is now controlled by `PetscLogState`.
86: .seealso: [](ch_profiling)
87: @*/
88: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegInfo is no longer used.") static inline PetscErrorCode PetscClassRegInfoDestroy(PetscClassRegInfo *c)
89: {
90: (void)c;
91: return PETSC_SUCCESS;
92: }
94: /*@C
95: PetscClassRegLogCreate - Deprecated.
97: Level: deprecated
99: Note:
100: Registration data for logging is now controlled by `PetscLogState`.
102: .seealso: [](ch_profiling)
103: @*/
104: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogCreate(PetscClassRegLog *c)
105: {
106: *c = NULL;
107: return PETSC_SUCCESS;
108: }
110: /*@C
111: PetscClassRegLogDestroy - Deprecated.
113: Level: deprecated
115: Note:
116: Registration data for logging is now controlled by `PetscLogState`.
118: .seealso: [](ch_profiling)
119: @*/
120: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogDestroy(PetscClassRegLog c)
121: {
122: (void)c;
123: return PETSC_SUCCESS;
124: }
126: /*@C
127: PetscClassRegLogGetClass - Deprecated.
129: Level: deprecated
131: Note:
132: Registration data for logging is now controlled by `PetscLogState`.
134: .seealso: [](ch_profiling), `PetscLogStateGetClassFromClassId()`
135: @*/
136: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogGetClass(PetscClassRegLog c, PetscClassId d, int *e)
137: {
138: (void)c;
139: (void)d;
140: *e = -1;
141: return PETSC_SUCCESS;
142: }
144: /*@C
145: PetscClassRegLogRegister - Deprecated.
147: Level: deprecated
149: Note:
150: Registration data for logging is now controlled by `PetscLogState`.
152: .seealso: [](ch_profiling), `PetscLogStateClassRegister()`
153: @*/
154: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscClassRegLog is no longer used.") static inline PetscErrorCode PetscClassRegLogRegister(PetscClassRegLog a, const char *b, PetscClassId c)
155: {
156: (void)a;
157: (void)b;
158: (void)c;
159: return PETSC_SUCCESS;
160: }
162: /*MC
163: PetscEventPerfInfoAdd - Deprecated.
165: Level: deprecated
167: Note:
168: `PetscEventPerfInfo` is data obtained from the default log handler with `PetscLogEventGetPerfInfo()`. It is now "plain old data":
169: PETSc provides no functions for its manipulation.
171: .seealso: [](ch_profiling), `PetscEventPerfInfo`
172: M*/
174: /*@C
175: PetscEventPerfInfoClear - Deprecated.
177: Level: deprecated
179: Note:
180: `PetscEventPerfInfo` is data obtained from the default log handler with `PetscLogEventGetPerfInfo()`. It is now "plain old data":
181: PETSc provides no functions for its manipulation.
183: .seealso: [](ch_profiling), `PetscEventPerfInfo`
184: @*/
185: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "PetscMemzero()", ) static inline PetscErrorCode PetscEventPerfInfoClear(PetscEventPerfInfo *a)
186: {
187: return PetscMemzero(a, sizeof(*a));
188: }
190: /*@C
191: PetscEventPerfInfoCopy - Deprecated.
193: Level: deprecated
195: Note:
196: `PetscEventPerfInfo` is data obtained from the default log handler with `PetscLogEventGetPerfInfo()`. It is now "plain old data":
197: PETSc provides no functions for its manipulation.
199: .seealso: [](ch_profiling), `PetscEventPerfInfo`
200: @*/
201: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "PetscMemcpy()", ) static inline PetscErrorCode PetscEventPerfInfoCopy(PetscEventPerfInfo *a, PetscEventPerfInfo *b)
202: {
203: return PetscMemcpy(a, b, sizeof(*a));
204: }
206: /*@C
207: PetscEventPerfLogActivate - Deprecated.
209: Level: deprecated
211: Note:
212: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
213: `PetscLogEventGetPerfInfo()`.
215: .seealso: [](ch_profiling)
216: @*/
217: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogActivate(PetscEventPerfLog a, PetscLogEvent b)
218: {
219: (void)a;
220: (void)b;
221: return PETSC_SUCCESS;
222: }
224: /*@C
225: PetscEventPerfLogActivateClass - Deprecated.
227: Level: deprecated
229: Note:
230: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
231: `PetscLogEventGetPerfInfo()`.
233: .seealso: [](ch_profiling)
234: @*/
235: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogActivateClass(PetscEventPerfLog a, PetscEventRegLog b, PetscClassId c)
236: {
237: (void)a;
238: (void)b;
239: (void)c;
240: return PETSC_SUCCESS;
241: }
243: /*@C
244: PetscEventPerfLogCreate - Deprecated
246: Level: deprecated
248: Note:
249: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
250: `PetscLogEventGetPerfInfo()`.
252: .seealso: [](ch_profiling)
253: @*/
254: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogCreate(PetscEventPerfLog *a)
255: {
256: *a = NULL;
257: return PETSC_SUCCESS;
258: }
260: /*@C
261: PetscEventPerfLogDeactivate - Deprecated
263: Level: deprecated
265: Note:
266: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
267: `PetscLogEventGetPerfInfo()`.
269: .seealso: [](ch_profiling)
270: @*/
271: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivate(PetscEventPerfLog a, PetscLogEvent b)
272: {
273: (void)a;
274: (void)b;
275: return PETSC_SUCCESS;
276: }
278: /*@C
279: PetscEventPerfLogDeactivateClass - Deprecated
281: Level: deprecated
283: Note:
284: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
285: `PetscLogEventGetPerfInfo()`.
287: .seealso: [](ch_profiling)
288: @*/
289: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivateClass(PetscEventPerfLog a, PetscEventRegLog b, PetscClassId c)
290: {
291: (void)a;
292: (void)b;
293: (void)c;
294: return PETSC_SUCCESS;
295: }
297: /*@C
298: PetscEventPerfLogDeactivatePop - Deprecated
300: Level: deprecated
302: Note:
303: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
304: `PetscLogEventGetPerfInfo()`.
306: .seealso: [](ch_profiling)
307: @*/
308: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivatePop(PetscEventPerfLog a, PetscLogEvent b)
309: {
310: (void)a;
311: (void)b;
312: return PETSC_SUCCESS;
313: }
315: /*@C
316: PetscEventPerfLogDeactivatePush - Deprecated
318: Level: deprecated
320: Note:
321: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
322: `PetscLogEventGetPerfInfo()`.
324: .seealso: [](ch_profiling)
325: @*/
326: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDeactivatePush(PetscEventPerfLog a, PetscLogEvent b)
327: {
328: (void)a;
329: (void)b;
330: return PETSC_SUCCESS;
331: }
333: /*@C
334: PetscEventPerfLogDestroy - Deprecated
336: Level: deprecated
338: Note:
339: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
340: `PetscLogEventGetPerfInfo()`.
342: .seealso: [](ch_profiling)
343: @*/
344: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogDestroy(PetscEventPerfLog a)
345: {
346: (void)a;
347: return PETSC_SUCCESS;
348: }
350: /*@C
351: PetscEventPerfLogEnsureSize - Deprecated
353: Level: deprecated
355: Note:
356: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
357: `PetscLogEventGetPerfInfo()`.
359: .seealso: [](ch_profiling)
360: @*/
361: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogEnsureSize(PetscEventPerfLog a, int b)
362: {
363: (void)a;
364: (void)b;
365: return PETSC_SUCCESS;
366: }
368: /*@C
369: PetscEventPerfLogGetVisible - Deprecated
371: Level: deprecated
373: Note:
374: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
375: `PetscLogEventGetPerfInfo()`.
377: .seealso: [](ch_profiling)
378: @*/
379: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogGetVisible(PetscEventPerfLog a, PetscLogEvent b, PetscBool *c)
380: {
381: (void)a;
382: (void)b;
383: *c = PETSC_TRUE;
384: return PETSC_SUCCESS;
385: }
387: /*@C
388: PetscEventPerfLogSetVisible - Deprecated
390: Level: deprecated
392: Note:
393: Performance data is now controlled by `PetscLogHandler`s. Only the default log handler (`PetscLogBeginDefault()`) exposes event performance information with
394: `PetscLogEventGetPerfInfo()`.
396: .seealso: [](ch_profiling)
397: @*/
398: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventPerfLog is no longer used.") static inline PetscErrorCode PetscEventPerfLogSetVisible(PetscEventPerfLog a, PetscLogEvent b, PetscBool c)
399: {
400: (void)a;
401: (void)b;
402: (void)c;
403: return PETSC_SUCCESS;
404: }
406: /*@C
407: PetscEventRegLogCreate - Deprecated
409: Level: deprecated
411: Note:
412: Registration data for logging is now controlled by `PetscLogState`.
414: .seealso: [](ch_profiling)
415: @*/
416: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogCreate(PetscEventRegLog *a)
417: {
418: *a = NULL;
419: return PETSC_SUCCESS;
420: }
422: /*@C
423: PetscEventRegLogDestroy - Deprecated
425: Level: deprecated
427: Note:
428: Registration data for logging is now controlled by `PetscLogState`.
430: .seealso: [](ch_profiling)
431: @*/
432: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogDestroy(PetscEventRegLog a)
433: {
434: (void)a;
435: return PETSC_SUCCESS;
436: }
438: /*@C
439: PetscEventRegLogGetEvent - Deprecated
441: Level: deprecated
443: Note:
444: Registration data for logging is now controlled by `PetscLogState`.
446: .seealso: [](ch_profiling), `PetscLogEventGetId()`
447: @*/
448: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscEventRegLog is no longer used.") static inline PetscErrorCode PetscEventRegLogGetEvent(PetscEventRegLog a, const char *b, PetscLogEvent *c)
449: {
450: (void)a;
451: (void)b;
452: *c = -1;
453: return PETSC_SUCCESS;
454: }
456: /*@C
457: PetscEventRegLogRegister - Deprecated
459: Level: deprecated
461: Note:
462: Registration data for logging is now controlled by `PetscLogState`.
464: .seealso: [](ch_profiling), `PetscLogEventRegister()`
465: @*/
466: 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)
467: {
468: (void)a;
469: (void)b;
470: (void)c;
471: *d = -1;
472: return PETSC_SUCCESS;
473: }
475: /*MC
476: PetscLogMPEGetRGBColor - Deprecated.
478: Level: deprecated
480: .seealso: [](ch_profiling)
481: M*/
483: /*MC
484: PetscStageInfoDestroy - Deprecated.
486: Level: deprecated
488: Note:
489: Registration data for logging is now controlled by `PetscLogState`.
491: .seealso: [](ch_profiling)
492: M*/
494: /*MC
495: PetscStageLogGetEventPerfLog - Deprecated.
497: Level: deprecated
499: Note:
500: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
501: 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.
503: .seealso: [](ch_profiling), `PetscLogEventGetPerfInfo()`
504: M*/
506: /*@C
507: PetscStageLogCreate - Deprecated
509: Level: deprecated
511: Note:
512: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
513: 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.
515: .seealso: [](ch_profiling)
516: @*/
517: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogCreate(PetscStageLog *a)
518: {
519: *a = NULL;
520: return PETSC_SUCCESS;
521: }
523: /*@C
524: PetscStageLogDestroy - Deprecated
526: Level: deprecated
528: Note:
529: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
530: 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.
532: .seealso: [](ch_profiling)
533: @*/
534: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogDestroy(PetscStageLog a)
535: {
536: (void)a;
537: return PETSC_SUCCESS;
538: }
540: /*@C
541: PetscStageLogGetActive - Deprecated
543: Level: deprecated
545: Note:
546: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
547: 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.
549: .seealso: [](ch_profiling)
550: @*/
551: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetActive(PetscStageLog a, int b, PetscBool *c)
552: {
553: (void)a;
554: (void)b;
555: *c = PETSC_TRUE;
556: return PETSC_SUCCESS;
557: }
559: /*@C
560: PetscStageLogGetClassPerfLog - Deprecated
562: Level: deprecated
564: Note:
565: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
566: 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.
568: .seealso: [](ch_profiling)
569: @*/
570: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetClassPerfLog(PetscStageLog a, int b, PetscClassPerfLog *c)
571: {
572: (void)a;
573: (void)b;
574: *c = NULL;
575: return PETSC_SUCCESS;
576: }
578: /*@C
579: PetscStageLogGetClassRegLog - Deprecated
581: Level: deprecated
583: Note:
584: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
585: 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.
587: .seealso: [](ch_profiling)
588: @*/
589: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetClassRegLog(PetscStageLog a, PetscClassRegLog *c)
590: {
591: (void)a;
592: *c = NULL;
593: return PETSC_SUCCESS;
594: }
596: /*@C
597: PetscStageLogGetEventRegLog - Deprecated
599: Level: deprecated
601: Note:
602: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
603: 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.
605: .seealso: [](ch_profiling)
606: @*/
607: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetEventRegLog(PetscStageLog a, PetscEventRegLog *c)
608: {
609: (void)a;
610: *c = NULL;
611: return PETSC_SUCCESS;
612: }
614: /*@C
615: PetscStageLogGetStage - Deprecated
617: Level: deprecated
619: Note:
620: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
621: 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.
623: .seealso: [](ch_profiling)
624: @*/
625: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetStage(PetscStageLog a, const char *b, PetscLogStage *c)
626: {
627: (void)a;
628: (void)b;
629: *c = -1;
630: return PETSC_SUCCESS;
631: }
633: /*@C
634: PetscStageLogGetVisible - Deprecated
636: Level: deprecated
638: Note:
639: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
640: 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.
642: .seealso: [](ch_profiling)
643: @*/
644: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogGetVisible(PetscStageLog a, int b, PetscBool *c)
645: {
646: (void)a;
647: (void)b;
648: *c = PETSC_TRUE;
649: return PETSC_SUCCESS;
650: }
652: /*@C
653: PetscStageLogPop - Deprecated
655: Level: deprecated
657: Note:
658: PETSc performance logging and profiling is now split up between the logging state (`PetscLogState`) and the log handler (`PetscLogHandler`).
659: 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.
661: .seealso: [](ch_profiling)
662: @*/
663: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogPop(PetscStageLog a)
664: {
665: (void)a;
666: return PETSC_SUCCESS;
667: }
669: /*@C
670: PetscStageLogPush - Deprecated
672: Level: deprecated
674: .seealso: [](ch_profiling)
675: @*/
676: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogPush(PetscStageLog a, int b)
677: {
678: (void)a;
679: (void)b;
680: return PETSC_SUCCESS;
681: }
683: /*@C
684: PetscStageLogRegister - Deprecated
686: Level: deprecated
688: .seealso: [](ch_profiling)
689: @*/
690: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogRegister(PetscStageLog a, const char *b, int *c)
691: {
692: (void)a;
693: (void)b;
694: *c = -1;
695: return PETSC_SUCCESS;
696: }
698: /*@C
699: PetscStageLogSetActive - Deprecated
701: Level: deprecated
703: .seealso: [](ch_profiling)
704: @*/
705: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogSetActive(PetscStageLog a, int b, PetscBool c)
706: {
707: (void)a;
708: (void)b;
709: (void)c;
710: return PETSC_SUCCESS;
711: }
713: /*@C
714: PetscStageLogSetVisible - Deprecated
716: Level: deprecated
718: .seealso: [](ch_profiling)
719: @*/
720: PETSC_DEPRECATED_FUNCTION(3, 20, 0, "nothing", "PetscStageLog is no longer used.") static inline PetscErrorCode PetscStageLogSetVisible(PetscStageLog a, int b, PetscBool c)
721: {
722: (void)a;
723: (void)b;
724: (void)c;
725: return PETSC_SUCCESS;
726: }