Home
last modified time | relevance | path

Searched refs:num_descendants (Results 1 – 3 of 3) sorted by relevance

/petsc/src/sys/logging/handler/impls/nested/
H A Dlognested.c290 …hFirst(PetscInt num_nodes, PetscInt parent, PetscNestedEventNode tree[], PetscInt *num_descendants) in PetscLogNestedEventNodesOrderDepthFirst() argument
304 tree[start_loc].num_descendants = num_this_descendants; in PetscLogNestedEventNodesOrderDepthFirst()
305 *num_descendants += 1 + num_this_descendants; in PetscLogNestedEventNodesOrderDepthFirst()
324 PetscInt num_descendants; in PetscLogNestedCreatePerfNodes() local
363 num_descendants = 0; in PetscLogNestedCreatePerfNodes()
364 PetscCall(PetscLogNestedEventNodesOrderDepthFirst(num_nodes, -1, tree, &num_descendants)); in PetscLogNestedCreatePerfNodes()
365 PetscAssert(num_descendants == num_nodes, comm, PETSC_ERR_PLIB, "Failed tree ordering invariant"); in PetscLogNestedCreatePerfNodes()
H A Dlognested.h56 PetscInt num_descendants; member
H A Dxmlviewer.c313 PetscInt num_nodes = parent_node->num_descendants; in PetscLogNestedTreePrint()
319 for (PetscInt node = 0; node < num_nodes; node += 1 + tree[node].num_descendants) { in PetscLogNestedTreePrint()
326 for (PetscInt i = 0, node = 0; node < num_nodes; i++, node += 1 + tree[node].num_descendants) { in PetscLogNestedTreePrint()