Package coro :: Module print_profile
[hide private]
[frames] | no frames]

Module print_profile

source code

Display profile data as HTML.

TODO

Classes [hide private]
  profile_data
profile_data = {function_string: data_tuple}
Functions [hide private]
 
_mapfuns(d1, d2)
Given two dicts, d1 (k1 -> v1) and d2 (k2 -> v2), returns a dict which has the mapping (k1 -> k2) such that _name(k1) == _name(k2).
source code
 
err(msg) source code
 
usage() source code
 
main(baseline, otherfile=None) source code
Variables [hide private]
  PER_COLUMNS = ('ticks', 'utime', 'stime')
  sortable_js = 'addEvent(window, "load", sortables_init);\n\nva...
  __package__ = 'coro'
Variables Details [hide private]

sortable_js

Value:
'''addEvent(window, "load", sortables_init);

var SORT_COLUMN_INDEX;

function sortables_init() {
    // Find all tables with class sortable and make them sortable
    if (!document.getElementsByTagName) return;
    tbls = document.getElementsByTagName("table");
...