Update callback_duration notebook and pingpong sample data
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
parent
ee5258f4a9
commit
c874d59f74
2 changed files with 10 additions and 1 deletions
|
@ -100,6 +100,10 @@
|
||||||
" if owner_info is None:\n",
|
" if owner_info is None:\n",
|
||||||
" owner_info = '[unknown]'\n",
|
" owner_info = '[unknown]'\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
" # Filter out internal subscriptions\n",
|
||||||
|
" if '/parameter_events' in owner_info:\n",
|
||||||
|
" continue\n",
|
||||||
|
"\n",
|
||||||
" # Duration\n",
|
" # Duration\n",
|
||||||
" duration_df = data_util.get_callback_durations(obj)\n",
|
" duration_df = data_util.get_callback_durations(obj)\n",
|
||||||
" starttime = duration_df.loc[:, 'timestamp'].iloc[0].strftime('%Y-%m-%d %H:%M')\n",
|
" starttime = duration_df.loc[:, 'timestamp'].iloc[0].strftime('%Y-%m-%d %H:%M')\n",
|
||||||
|
@ -173,6 +177,11 @@
|
||||||
"\n",
|
"\n",
|
||||||
"colour_i = 0\n",
|
"colour_i = 0\n",
|
||||||
"for obj, symbol in callback_symbols.items():\n",
|
"for obj, symbol in callback_symbols.items():\n",
|
||||||
|
" # Filter out internal subscriptions\n",
|
||||||
|
" owner_info = data_util.get_callback_owner_info(obj)\n",
|
||||||
|
" if not owner_info or '/parameter_events' in owner_info:\n",
|
||||||
|
" continue\n",
|
||||||
|
"\n",
|
||||||
" duration_df = data_util.get_callback_durations(obj)\n",
|
" duration_df = data_util.get_callback_durations(obj)\n",
|
||||||
" source = ColumnDataSource(duration_df)\n",
|
" source = ColumnDataSource(duration_df)\n",
|
||||||
" duration.title.align = 'center'\n",
|
" duration.title.align = 'center'\n",
|
||||||
|
@ -215,7 +224,7 @@
|
||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.6.9"
|
"version": "3.8.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue