At Mon, 12 Aug 2013 14:08:34 +0800, Liu Yuan wrote: > > v3: > - refine the the stat output > > 'graph stat' output: > > Total (s) Per Call (ms) Calls Name > 100.659 51.356 1960 eventfd_xread > 79.315 68.790 1153 do_process_work > 76.645 348.388 220 do_push_object > 76.637 348.349 220 push_cache_object > 74.611 185.139 403 gateway_create_and_write_obj > 74.338 345.757 215 exec_local_req > 74.276 350.361 212 gateway_forward_request > 35.555 34.722 1024 xpwrite > 35.547 7.119 4993 event_loop > 35.538 7.118 4993 do_event_loop > 34.299 385.380 89 sheep_do_op_work > 33.778 427.565 79 peer_create_and_write_obj > 33.776 427.547 79 default_create_and_write > 26.324 2632.399 10 object_cache_push > 26.259 2917.706 9 do_background_push > > Liu Yuan (3): > util: add list_sort() > collie/trace: add graph stat function > collie/trace: use macro for the width of thread name > > collie/trace.c | 155 ++++++++++++++++++++++++++++++++++++++++++++++----- > include/list.h | 3 + > include/sheep.h | 4 +- > lib/util.c | 137 +++++++++++++++++++++++++++++++++++++++++++++ > sheep/trace/graph.c | 1 + > 5 files changed, 283 insertions(+), 17 deletions(-) Applied, thanks. Kazutaka |