Caliper icon indicating copy to clipboard operation
Caliper copied to clipboard

How to sort at each node level by inclusive time or name?

Open pramodk opened this issue 5 years ago • 0 comments

Hello,

I have following config :

CALI_SERVICES_ENABLE=aggregate,event,mpi,mpireport,timestamp
CALI_TIMER_INCLUSIVE_DURATION=true
CALI_MPIREPORT_CONFIG="select avg(sum#time.inclusive.duration) GROUP BY annotation,function FORMAT tree"

and that gives me following result :

Path                             avg#sum#time.inclusive.duration
main                                                    5.000000
  finitialize                                       53828.000000
    cur-na3                                            13.000000
    cur-kmb                                            10.000000
    cur-kdr                                            72.000000
    cur-kdrb                                           15.000000
    cur-kdb                                             2.000000
    cur-kd2                                             2.000000
    cur-kca                                            82.000000
    cur-kap                                            20.000000
    cur-kad                                            81.000000
    cur-hd                                             57.000000
    cur-nax                                            93.000000
  load-model                                       241803.000000
  checkpoint                                            4.000000
  output-spike                                       1578.000000
  simulation                                      4748402.000000
    timestep                                      4746831.000000
      update                                         9292.000000
      second_order_cur                                539.000000
      matrix-solver                                 54642.000000
      deliver_events                                 3128.000000
      setup_tree_matrix                           1395976.000000
        cur-ProbGABAAB_EMS                         142826.000000
        cur-ProbAMPANMDA_EMS                        96334.000000
        cur-nax                                     33397.000000
        cur-na3                                      3433.000000
        cur-kmb                                      3595.000000
        cur-kdr                                     25821.000000
        cur-kdrb                                     5230.000000
        cur-kdb                                       604.000000
        cur-kd2                                       674.000000
        cur-kca                                     29835.000000
      state-update                                3277329.000000
        state-can                                  455254.000000
        state-cal                                  358501.000000
        state-cagk                                 309065.000000
        state-cacum                                 35340.000000
        state-cacumb                                 3803.000000
        state-kdrb                                  40839.000000
        state-kdb                                     663.000000
        state-kd2                                     690.000000

How can I sort the children of finitialize, setup_tree_matrix and state-update by inclusive time or even name? I tried adding ORDER BY time.duration but that didn't help.

pramodk avatar Mar 30 '19 18:03 pramodk