-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add sim time to plot APIs (only non-supported APIs) #433
Conversation
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
* Unified graph captions. Signed-off-by: emb4 <[email protected]> * Unified conditional branching of graph captions. Signed-off-by: emb4 <[email protected]> * Fixed flake8 errors. Signed-off-by: emb4 <[email protected]> * Point corrected. Signed-off-by: emb4 <[email protected]> * Corrected string notation. Signed-off-by: emb4 <[email protected]> * Corrected string notation. Signed-off-by: emb4 <[email protected]> * Corrected the points pointed out. Signed-off-by: emb4 <[email protected]> * Corrected caption. Signed-off-by: emb4 <[email protected]> * Corrected caption. Signed-off-by: emb4 <[email protected]> --------- Signed-off-by: emb4 <[email protected]>
…ier4#430) * chore(histogram): display number instead of probability Signed-off-by: takeshi.iwanari <[email protected]> * fix: change hover label Signed-off-by: takeshi.iwanari <[email protected]> --------- Signed-off-by: takeshi.iwanari <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
… invalid. Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
…nto feat/add-sim-time-to-plot-api
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
…nto feat/add-sim-time-to-plot-api
Signed-off-by: ISP akm <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I suggest creating utility function to get
ClockConverter
from object (Communication, Callback, etc.) to recude redundancy. My suggestions are:- adding
util.py
tocaret_analyze/plot
- adding
get_clock_converter
function toutil.py
above
- adding
- I suggest adding simulation time support to
StackedBarPlot.to_dataframe
. (I think it does not work currently becauseLatencyStackedBar.to_dataframe
does not support simulation time.) - I suggest removing
MetricsBase._convert_timeseries_records_to_sim_time
and using conversion functionality of metrics objects (Frequency
,ResponseTime
, etc.) instead to reduce redundancy.
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
…gyo77/caret_analyze into feat/add-sim-time-to-plot-api
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I think the meaning of
is_base_ts_convert
argument ofFrequency.to_records
is a little bit difficult to understand. I suggest to remove this argument by:- removing
converter
argument fromFrequencyTimeSeries._get_timestamp_range
. Now,min_time
andmax_time
inFrequencyTimeSeries.to_timeseries_records_list
are always in system time. - removing
is_base_ts_convert
argument ofFrequency.to_records
andFrequency._get_frequency_with_timestamp
.
- removing
Signed-off-by: ISP akm <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Modify the following API to support sim_time.
Related links
https://tier4.atlassian.net/browse/RT2-1083
Notes for reviewers
Pre-review checklist for the PR author
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.