Home
last modified time | relevance | path

Searched refs:PetscLogDouble (Results 1 – 25 of 96) sorted by relevance

1234

/petsc/include/
H A Dpetsclogtypes.h24 PetscLogDouble flops; /* The flops used in this event */
25 PetscLogDouble flops2; /* The square of flops used in this event */
26 PetscLogDouble flopsTmp; /* The accumulator for flops used in this event */
27 PetscLogDouble time; /* The time taken for this event */
28 PetscLogDouble time2; /* The square of time taken for this event */
29 PetscLogDouble timeTmp; /* The accumulator for time taken for this event */
30 PetscLogDouble syncTime; /* The synchronization barrier time */
31PetscLogDouble dof[8]; /* The number of degrees of freedom associated with this event…
32 PetscLogDouble errors[8]; /* The errors (user-defined) associated with this event */
33 PetscLogDouble numMessages; /* The number of messages in this event */
[all …]
H A Dpetsclog.h173 PETSC_EXTERN PetscErrorCode PetscAddLogDouble(PetscLogDouble *, PetscLogDouble *, PetscLogDouble);
174 …scErrorCode PetscAddLogDoubleCnt(PetscLogDouble *, PetscLogDouble *, PetscLogDouble *, PetscLogDou…
188 …jectMemory()", ) static inline PetscErrorCode PetscLogObjectMemory(PetscObject o, PetscLogDouble m) in PetscLogObjectMemory()
196 PETSC_EXTERN PetscLogDouble petsc_TotalFlops;
197 PETSC_EXTERN PetscLogDouble petsc_irecv_ct;
198 PETSC_EXTERN PetscLogDouble petsc_isend_ct;
199 PETSC_EXTERN PetscLogDouble petsc_recv_ct;
200 PETSC_EXTERN PetscLogDouble petsc_send_ct;
201 PETSC_EXTERN PetscLogDouble petsc_irecv_len;
202 PETSC_EXTERN PetscLogDouble petsc_isend_len;
[all …]
H A Dpetsctime.h10 PETSC_EXTERN PetscErrorCode PetscGetCPUTime(PetscLogDouble *);
13 PETSC_EXTERN PetscLogDouble petsc_BaseTime;
41 static inline PetscErrorCode PetscTime(PetscLogDouble *v) in PetscTime()
68 static inline PetscErrorCode PetscTimeSubtract(PetscLogDouble *v) in PetscTimeSubtract()
93 static inline PetscErrorCode PetscTimeAdd(PetscLogDouble *v) in PetscTimeAdd()
H A Dpetsclogdeprecated.h26 PetscLogDouble mem;
27 PetscLogDouble descMem;
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetsclog.pxi3 ctypedef double PetscLogDouble
6 PetscLogDouble flops, time
7 PetscLogDouble numMessages
8 PetscLogDouble messageLength
9 PetscLogDouble numReductions
15 PetscErrorCode PetscLogFlops(PetscLogDouble)
16 PetscErrorCode PetscGetFlops(PetscLogDouble*)
17 PetscErrorCode PetscGetCPUTime(PetscLogDouble*)
18 PetscErrorCode PetscMallocGetCurrentUsage(PetscLogDouble*)
19 PetscErrorCode PetscMemoryGetCurrentUsage(PetscLogDouble*)
[all …]
/petsc/src/sys/memory/
H A Dmem.c58 PetscErrorCode PetscMemoryGetCurrentUsage(PetscLogDouble *mem) in PetscMemoryGetCurrentUsage()
82 *mem = (PetscLogDouble)prusage.pr_byrssize; in PetscMemoryGetCurrentUsage()
87 *mem = (PetscLogDouble)(8 * fd - 4294967296); /* 2^32 - upper bits */ in PetscMemoryGetCurrentUsage()
93 *mem = ((PetscLogDouble)rss) * ((PetscLogDouble)getpagesize()); in PetscMemoryGetCurrentUsage()
100 *mem = 1024.0 * ((PetscLogDouble)temp.ru_maxrss); in PetscMemoryGetCurrentUsage()
102 *mem = ((PetscLogDouble)getpagesize()) * ((PetscLogDouble)temp.ru_maxrss); in PetscMemoryGetCurrentUsage()
114 PETSC_INTERN PetscLogDouble PetscMemoryMaximumUsage;
117 PetscLogDouble PetscMemoryMaximumUsage = 0;
145 PetscErrorCode PetscMemoryGetMaximumUsage(PetscLogDouble *mem) in PetscMemoryGetMaximumUsage()
H A Dmal.c40 … "Memkind: fail to request HBW memory %.0f, falling back to normal memory\n", (PetscLogDouble)mem); in PetscMallocAlign()
41 … PetscCheck(*result, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem); in PetscMallocAlign()
49 PetscCheck(*result, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem); in PetscMallocAlign()
53 …PetscCheck(ret == 0, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem); in PetscMallocAlign()
66 PetscCheck(ptr, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem); in PetscMallocAlign()
152 PetscCheck(*result, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem); in PetscReallocAlign()
162 … "Memkind: fail to request HBW memory %.0f, falling back to normal memory\n", (PetscLogDouble)mem); in PetscReallocAlign()
164 …PetscCheck(newResult, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem… in PetscReallocAlign()
167 …IB, "posix_memalign() failed with error code %d, memory requested %.0f", ret, (PetscLogDouble)mem); in PetscReallocAlign()
252 PetscLogDouble mem, mal; in PetscMemoryTrace()
[all …]
H A Dmtr.c123 …d(%.0f)] at address %p allocated in %s() at %s:%d\n", lasthead->id, (PetscLogDouble)lasthead->size… in PetscMallocValidate()
134 …tf)("Memory [id=%d(%.0f)] at address %p already freed\n", head->id, (PetscLogDouble)head->size, a)… in PetscMallocValidate()
137 …ss %p is corrupted (probably write past end of array)\n", head->id, (PetscLogDouble)head->size, a)… in PetscMallocValidate()
279 …("Block [id=%d(%.0f)] at address %p was already freed\n", head->id, (PetscLogDouble)head->size, a … in PetscTrFreeDefault()
289 …ss %p is corrupted (probably write past end of array)\n", head->id, (PetscLogDouble)head->size, a)… in PetscTrFreeDefault()
359 …("Block [id=%d(%.0f)] at address %p was already freed\n", head->id, (PetscLogDouble)head->size, a … in PetscTrReallocDefault()
369 …ss %p is corrupted (probably write past end of array)\n", head->id, (PetscLogDouble)head->size, a)… in PetscTrReallocDefault()
460PetscLogDouble allocated, allocatedmax, resident, residentmax, gallocated, gallocatedmax, gresiden… in PetscMemoryView()
461PetscLogDouble mingallocated, mingallocatedmax, mingresident, mingresidentmax, maxgresident, maxgr… in PetscMemoryView()
539 PetscErrorCode PetscMallocGetCurrentUsage(PetscLogDouble *space) in PetscMallocGetCurrentUsage()
[all …]
H A Dmhbw.c43 …k(!err && *result, PETSC_COMM_SELF, PETSC_ERR_MEM, "HBW Memory requested %.0f", (PetscLogDouble)a); in PetscHBWMalloc()
71 PetscCheck(*result, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)a); in PetscHBWRealloc()
/petsc/src/sys/logging/
H A Dplog.c41 PetscLogDouble petsc_BaseTime = 0.0;
42 PetscLogDouble petsc_TotalFlops = 0.0; /* The number of flops */
43 PetscLogDouble petsc_send_ct = 0.0; /* The number of sends */
44 PetscLogDouble petsc_recv_ct = 0.0; /* The number of receives */
45 PetscLogDouble petsc_send_len = 0.0; /* The total length of all sent messages */
46 PetscLogDouble petsc_recv_len = 0.0; /* The total length of all received messages */
47 PetscLogDouble petsc_isend_ct = 0.0; /* The number of immediate sends */
48 PetscLogDouble petsc_irecv_ct = 0.0; /* The number of immediate receives */
49 PetscLogDouble petsc_isend_len = 0.0; /* The total length of all immediate send messages */
50 PetscLogDouble petsc_irecv_len = 0.0; /* The total length of all immediate receive messages */
[all …]
/petsc/src/sys/logging/handler/impls/nested/
H A Dxmlviewer.c100 static PetscErrorCode PetscViewerXMLPutDouble(PetscViewer viewer, const char *name, PetscLogDouble in PetscViewerXMLPutDouble()
158 …manceElement(PetscViewer viewer, const char *name, const char *desc, PetscLogDouble local_val, con… in PetscPrintXMLGlobalPerformanceElement()
160 PetscLogDouble min, tot, ratio, avg; in PetscPrintXMLGlobalPerformanceElement()
163 PetscLogDouble valrank[2], max[2]; in PetscPrintXMLGlobalPerformanceElement()
171 valrank[1] = (PetscLogDouble)rank; in PetscPrintXMLGlobalPerformanceElement()
175 avg = tot / ((PetscLogDouble)size); in PetscPrintXMLGlobalPerformanceElement()
192 static PetscErrorCode PetscPrintGlobalPerformance(PetscViewer viewer, PetscLogDouble locTotalTime, … in PetscPrintGlobalPerformance()
194 PetscLogDouble flops, mem, red, mess; in PetscPrintGlobalPerformance()
210 …PetscCall(PetscPrintXMLGlobalPerformanceElement(viewer, "objects", "Objects", (PetscLogDouble)num_… in PetscPrintGlobalPerformance()
240 …er viewer, const char *name, PetscLogDouble value, PetscLogDouble minthreshold, PetscLogDouble max… in PetscPrintXMLNestedLinePerfResults()
[all …]
/petsc/src/sys/time/
H A Dcputime.c23 PetscErrorCode PetscGetCPUTime(PetscLogDouble *t) in PetscGetCPUTime()
37 PetscErrorCode PetscGetCPUTime(PetscLogDouble *t) in PetscGetCPUTime()
79 PetscErrorCode PetscGetCPUTime(PetscLogDouble *t) in PetscGetCPUTime()
82 PetscLogDouble foo, foo1; in PetscGetCPUTime()
/petsc/src/sys/tests/
H A Dex42.c12 PetscLogDouble t_add = 0; in main()
13 PetscLogDouble t_has = 0; in main()
14 PetscLogDouble t_del = 0; in main()
H A Dex43.c13 PetscLogDouble t_add = 0; in main()
14 PetscLogDouble t_has = 0; in main()
15 PetscLogDouble t_del = 0; in main()
H A Dex30.c97 PetscCall(PetscLogEventSetDof(event3, i, (PetscLogDouble)i)); in main()
98 PetscCall(PetscLogEventSetError(event3, i, (PetscLogDouble)i + 8)); in main()
/petsc/src/sys/logging/handler/impls/default/
H A Dlogdefault.c35 static PetscErrorCode PetscEventPerfInfoTic_Internal(PetscEventPerfInfo *eventInfo, PetscLogDouble in PetscEventPerfInfoTic_Internal()
59 PetscLogDouble usage; in PetscEventPerfInfoTic_Internal()
71 static PetscErrorCode PetscEventPerfInfoTic(PetscEventPerfInfo *eventInfo, PetscLogDouble time, Pet… in PetscEventPerfInfoTic()
78 static PetscErrorCode PetscEventPerfInfoResume(PetscEventPerfInfo *eventInfo, PetscLogDouble time, … in PetscEventPerfInfoResume()
85 static PetscErrorCode PetscEventPerfInfoToc_Internal(PetscEventPerfInfo *eventInfo, PetscLogDouble in PetscEventPerfInfoToc_Internal()
110 PetscLogDouble usage, musage; in PetscEventPerfInfoToc_Internal()
123 static PetscErrorCode PetscEventPerfInfoToc(PetscEventPerfInfo *eventInfo, PetscLogDouble time, Pet… in PetscEventPerfInfoToc()
130 static PetscErrorCode PetscEventPerfInfoPause(PetscEventPerfInfo *eventInfo, PetscLogDouble time, P… in PetscEventPerfInfoPause()
171PetscLogDouble mem; /* The total memory allocated by objects of this class; this is compl…
172PetscLogDouble descMem; /* The total memory allocated by descendents of these objects; this i…
[all …]
/petsc/src/dm/impls/plex/tests/
H A Dex35.c5 static PetscErrorCode EstimateMemory(DM dm, PetscLogDouble *est) in EstimateMemory()
56 *est = ((PetscLogDouble)imem) * sizeof(PetscInt) + ((PetscLogDouble)rmem) * sizeof(PetscReal); in EstimateMemory()
65 PetscLogDouble before, after, est = 0, clean, max; in main()
/petsc/src/sys/logging/handler/impls/trace/
H A Dlogtrace.c9 PetscLogDouble petsc_tracetime;
16 PetscLogDouble cur_time; in PetscLogHandlerEventBegin_Trace()
41 PetscLogDouble cur_time; in PetscLogHandlerEventEnd_Trace()
/petsc/src/dm/tests/
H A Dex2k.kokkos.cxx32 …rict__ x1, PetscScalar ***__restrict__ y1, PetscInt nwarm, PetscInt nloop, PetscLogDouble *avgTime) in Update1()
35 PetscLogDouble tstart = 0.0, tend; in Update1()
55 …strict__ x2, PetscScalar *__restrict__ y2, PetscInt nwarm, PetscInt nloop, PetscLogDouble *avgTime) in Update2()
58 PetscLogDouble tstart = 0.0, tend; in Update2()
96 PetscLogDouble tstart = 0.0, tend = 0.0, avgTime = 0.0; in main()
/petsc/src/vec/vec/tests/
H A Dex15k.kokkos.cxx34 PetscLogDouble tstart, tend, time; in main()
37 PetscLogDouble bandwidth; in main()
H A Dex2k.c23 PetscLogDouble tstart, tend, times[8], fom; // figure of merit in main()
105 PetscLogDouble bytes = (M * (N + 1.0) + N) * sizeof(PetscScalar); in main()
/petsc/include/petsc/private/
H A Ddeviceimpl.h222 PetscErrorCode (*endtimer)(PetscDeviceContext, PetscLogDouble *);
223 PetscErrorCode (*getpower)(PetscDeviceContext, PetscLogDouble *);
225 PetscErrorCode (*endenergymeter)(PetscDeviceContext, PetscLogDouble *);
343 …etscErrorCode PetscDeviceContextEndTimer_Internal(PetscDeviceContext dctx, PetscLogDouble *elapsed) in PetscDeviceContextEndTimer_Internal()
354 … PetscErrorCode PetscDeviceContextGetPower_Internal(PetscDeviceContext dctx, PetscLogDouble *power) in PetscDeviceContextGetPower_Internal()
373 …rrorCode PetscDeviceContextEndEnergyMeter_Internal(PetscDeviceContext dctx, PetscLogDouble *energy) in PetscDeviceContextEndEnergyMeter_Internal()
/petsc/src/benchmarks/
H A DPetscGetCPUTime.c5 PetscLogDouble x, y; in main()
H A DPetscTime.c6 PetscLogDouble x, y; in main()
/petsc/src/mat/tests/
H A Dex33.c11 PetscErrorCode Print_memory(PetscLogDouble mem) in Print_memory()
84 PetscLogDouble mem; in main()

1234