Skip to content

Add trace logs to profile the shared memory synchronization.#195

Open
Sunwoo-Nam wants to merge 1 commit intoSamsung:castanets_69from
Sunwoo-Nam:castanets_69_dev_2
Open

Add trace logs to profile the shared memory synchronization.#195
Sunwoo-Nam wants to merge 1 commit intoSamsung:castanets_69from
Sunwoo-Nam:castanets_69_dev_2

Conversation

@Sunwoo-Nam
Copy link
Copy Markdown
Contributor

The progress of the shared memory synchronization is very important
on Castanets. We want to use Chrome trace to do that and time ticks
between processes need to be synchronized.

This CL still has a problem because the network delay affects timestamps.
We better check only total memories transferred without a duration.

The progress of the shared memory synchronization is very important
on Castanets. We want to use Chrome trace to do that and time ticks
between processes need to be synchronized.

This CL still has a problem because the network delay affects timestamps.
We better check only total memories transferred without a duration.

Signed-off-by: Sunwoo Nam <sunny.nam@samsung.com>
@Sunwoo-Nam Sunwoo-Nam requested a review from a team August 22, 2019 02:13
#endif
#if defined(CASTANETS)
if (std::string("renderer") ==
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("type")) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about defining like this ? for more easy modifications in future.
constexpr const char kProcessTypeSwitch[] = "type";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants