Lines Matching refs:times
315 PetscReal *times; // Not PetscLogDouble, to reuse PetscSortRealWithArrayInt() below in PetscLogNestedTreePrint() local
325 PetscCall(PetscMalloc2(num_children + 2, ×, 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, ×[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()
373 PetscLogDouble child_time = -times[i]; in PetscLogNestedTreePrint()
395 PetscCall(PetscFree2(times, perm)); in PetscLogNestedTreePrint()