Home
last modified time | relevance | path

Searched refs:times (Results 1 – 25 of 58) sorted by relevance

123

/petsc/src/benchmarks/streams/
H A DBasicVersion.c92 double scalar, t, times[4][NTIMES], irate[4]; in main() local
110 times[0][k] = second(); in main()
114 times[0][k] = second() - times[0][k]; in main()
116 times[1][k] = second(); in main()
119 times[1][k] = second() - times[1][k]; in main()
121 times[2][k] = second(); in main()
123 times[2][k] = second() - times[2][k]; in main()
125 times[3][k] = second(); in main()
127 times[3][k] = second() - times[3][k]; in main()
133 for (j = 0; j < 4; j++) mintime[j] = MIN(mintime[j], times[j][k]); in main()
H A DSSEVersion.c78 double scalar, t, times[4][NTIMES]; in main() local
156 times[0][k] = Second(); in main()
174 times[0][k] = Second() - times[0][k]; in main()
177 times[1][k] = Second(); in main()
196 times[1][k] = Second() - times[1][k]; in main()
199 times[2][k] = Second(); in main()
218 times[2][k] = Second() - times[2][k]; in main()
221 times[3][k] = Second(); in main()
241 times[3][k] = Second() - times[3][k]; in main()
248 rmstime[j] = rmstime[j] + (times[j][k] * times[j][k]); in main()
[all …]
H A DMPIVersion.c19 double times[NTIMES], rate; in main() local
39 times[k] = MPI_Wtime(); in main()
45 times[k] = MPI_Wtime() - times[k]; in main()
48 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, times, NTIMES, MPI_DOUBLE, MPI_MAX, MPI_COMM_WORLD)); in main()
50 mintime = PetscMin(mintime, times[k]); in main()
H A DOpenMPVersion.c36 double times[NTIMES], rate; in main() local
54 times[k] = MPI_Wtime(); in main()
60 times[k] = MPI_Wtime() - times[k]; in main()
63 mintime = MIN(mintime, times[k]); in main()
H A DOpenMPVersionLikeMPI.c37 double times[NTIMES], rate; in main() local
60 times[k] = MPI_Wtime(); in main()
75 times[k] = MPI_Wtime() - times[k]; in main()
78 mintime = MIN(mintime, times[k]); in main()
H A DCUDAVersion.cu353 PetscErrorCode printResultsReadable(float times[][NTIMES], size_t);
428 float times[8][NTIMES]; in runStream() local
458 if (bDontUseGPUTiming) times[0][k] = cpuTimer * 1.e3; // millisec in runStream()
467 if (bDontUseGPUTiming) times[1][k] = cpuTimer * 1.e3; in runStream()
476 if (bDontUseGPUTiming) times[2][k] = cpuTimer * 1.e3; in runStream()
485 if (bDontUseGPUTiming) times[3][k] = cpuTimer * 1.e3; in runStream()
497 if (bDontUseGPUTiming) times[4][k] = cpuTimer * 1.e3; in runStream()
509 if (bDontUseGPUTiming) times[5][k] = cpuTimer * 1.e3; in runStream()
518 if (bDontUseGPUTiming) times[6][k] = cpuTimer * 1.e3; in runStream()
527 if (bDontUseGPUTiming) times[7][k] = cpuTimer * 1.e3; in runStream()
[all …]
/petsc/src/sys/tutorials/output/
H A Dex7_0.out3 [0:time_removed:PetscLogHandlerEventBegin_Ex7 ] Event "Event 1" started: now running 1 times
5 [0:time_removed:PetscLogHandlerEventBegin_Ex7 ] Event "Event 2" started: now running 1 times
7 [0:time_removed:PetscLogHandlerEventBegin_Ex7 ] Event "Event 1" started: now running 2 times
9 [0:time_removed:PetscLogHandlerEventEnd_Ex7 ] Event "Event 1" stopped: now running 1 times
10 [0:time_removed:PetscLogHandlerEventEnd_Ex7 ] Event "Event 2" stopped: now running 0 times
12 [0:time_removed:PetscLogHandlerEventEnd_Ex7 ] Event "Event 1" stopped: now running 0 times
/petsc/src/benchmarks/
H A DbenchmarkExample.py123 def processSummaryCSV(filename, defaultStage, eventNames, sizes, times, errors, events): argument
148 def processSummary(moduleName, defaultStage, eventNames, sizes, times, errors, events): argument
151 m = processSummaryCSV(moduleName+'.csv', defaultStage, eventNames, sizes, times, errors, events)
155 times.append(m.Stages[defaultStage]["summary"][0]["time"])
178 def plotTime(library, num, eventNames, sizes, times, events): argument
186 data.append(times[arch])
195 def plotEventTime(library, num, eventNames, sizes, times, events, filename = None): argument
225 def plotEventFlop(library, num, eventNames, sizes, times, events, filename = None): argument
281 def plotSummaryLine(library, num, eventNames, sizes, times, events): argument
293 data.append(times[arch])
[all …]
H A DbenchmarkAssembly.py20 def processSummary(moduleName, times, events): argument
25 times.append(m.Time[0])
35 def plotSummary(library, num, sizes, nonzeros, times, events): argument
106 times = [] variable
126 processSummary(args.module, times, events)
149 processSummary(args.module, times, events)
155 if not args.batch: plotSummary(args.library, args.num, sizes, nonzeros, times, events)
/petsc/src/sys/logging/handler/impls/nested/
H A Dxmlviewer.c315 PetscReal *times; // Not PetscLogDouble, to reuse PetscSortRealWithArrayInt() below in PetscLogNestedTreePrint() local
325 PetscCall(PetscMalloc2(num_children + 2, &times, num_children + 2, &perm)); in PetscLogNestedTreePrint()
331 times[i] = -child_time; in PetscLogNestedTreePrint()
351 times[num_children] = -parent_info->time; in PetscLogNestedTreePrint()
353 times[num_children + 1] = -other.time; in PetscLogNestedTreePrint()
354 …PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &times[num_children], 2, MPIU_REAL, MPIU_MIN, PetscObjec… in PetscLogNestedTreePrint()
356 other.time = -times[num_children + 1]; in PetscLogNestedTreePrint()
360 …intf(viewer, "%s %" PetscInt64_FMT "\n", parent_node->name, (PetscInt64)(-times[num_children] * 1e… in PetscLogNestedTreePrint()
365 PetscCall(PetscFree2(times, perm)); in PetscLogNestedTreePrint()
369 PetscCall(PetscSortRealWithArrayInt(num_children + 2, times, perm)); in PetscLogNestedTreePrint()
[all …]
/petsc/src/vec/vec/tests/
H A Dex2k.c23 PetscLogDouble tstart, tend, times[8], fom; // figure of merit in main() local
96 times[j] = (tend - tstart) * 1e6 / its; in main()
106 fom = (bytes / times[j]) * 1e-3; in main()
108 fom = times[j]; in main()
/petsc/src/ts/tests/
H A Dex13.c23 PetscReal times[10], tol = PETSC_SMALL; in main() local
48 PetscCall(PetscOptionsGetRealArray(NULL, NULL, "-interptimes", times, &Nt, NULL)); in main()
64 PetscReal testtime = times[i], serr, derr; in main()
80 PetscReal testtime = times[i], serr; in main()
91 PetscReal testtime = times[i], derr; in main()
102 PetscReal testtime = times[i], serr, derr; in main()
/petsc/src/benchmarks/results/
H A Dlap2d.m15 % m and s contain the times for matrix vector multiply and SLES solve for
28 % m and s contain the times for matrix vector multiply and SLES solve for
/petsc/lib/petsc/bin/
H A Dpetsc_tas_analysis.py333 times = []
397 times.append(SolverDf['Time'].max())
424 times = np.array(times)
440 data['Times'] = times
442 data['Times Range'] = times-timesMin
520 times = []
602 times.append(timeTempMax)
636 times = np.array(times)
652 data['Times'] = times
654 data['Times Range'] = times-timesMin
/petsc/src/ts/tutorials/output/
H A Dex40.out11 Ball bounced 10 times
22 Ball bounced 10 times
H A Dex44.out11 Processor [0]: Ball bounced 10 times
H A Dex44_2.out19 Processor [0]: Ball bounced 10 times
/petsc/src/sys/classes/viewer/impls/cgns/
H A Dcgnsv.c57 PetscReal *times; in PetscViewerFileClose_CGNS() local
60 PetscCall(PetscSegBufferExtractInPlace(cgv->output_times, &times)); in PetscViewerFileClose_CGNS()
65 …PetscCallCGNSWrite(cg_array_write("TimeValues", CGNS_ENUMV(RealDouble), 1, &num_times, times), vie… in PetscViewerFileClose_CGNS()
478 PetscReal *times; in PetscViewerCGNSGetSolutionTime() local
492 PetscCall(PetscMalloc1(size[0], &times)); in PetscViewerCGNSGetSolutionTime()
493 PetscCallCGNSRead(cg_array_read_as(A_index, CGNS_ENUMV(RealDouble), times), viewer, 0); in PetscViewerCGNSGetSolutionTime()
495 *time = times[cgv->solution_file_pointer_index - 1]; in PetscViewerCGNSGetSolutionTime()
496 PetscCall(PetscFree(times)); in PetscViewerCGNSGetSolutionTime()
/petsc/src/ksp/ksp/tutorials/output/
H A Dbench_kspsolve_matmult.out10 Step2 - running MatMult() 10 times...
H A Dex77_deflation.out5 …orm 1.509277727490e-19 is less than relative tolerance 1.000000000000e-05 times initial residual n…
/petsc/src/sys/time/
H A Dcputime.c28 times(&temp); in PetscGetCPUTime()
/petsc/src/vec/vec/tutorials/
H A Dex42.m3 % ex42(np,opt) - launches ./ex42 and runs a loop 1000 times sending and then receiving a one dimen…
/petsc/share/petsc/matlab/
H A DgeneratePetscTestFiles.m8 % Create a nx-times-ny 2D negative Laplacian with h=1 and Dirichlet BC
10 % Alternatevely, a nx-times-ny-times-nz 3D negative Laplacian with h=1 and Dirichlet BC
/petsc/src/ksp/ksp/tests/output/
H A Dex32_cholmod.out54 Common.ndbounds_hit 0. (number of times diagonal was modified by dbound)
H A Dex32_cholmod_sbaij.out54 Common.ndbounds_hit 0. (number of times diagonal was modified by dbound)

123