Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG UE
Commits
25f55c2b
Commit
25f55c2b
authored
May 20, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: better to on/off traces outside of gui creation
parent
a706d78b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
common/utils/T/tracer/vcd.c
common/utils/T/tracer/vcd.c
+4
-3
No files found.
common/utils/T/tracer/vcd.c
View file @
25f55c2b
...
...
@@ -111,7 +111,7 @@ static void *gui_thread(void *_g)
return
NULL
;
}
static
void
vcd_main_gui
(
gui
*
g
,
event_handler
*
h
,
void
*
database
,
int
*
is_on
)
static
void
vcd_main_gui
(
gui
*
g
,
event_handler
*
h
,
void
*
database
)
{
int
i
,
j
;
int
n
;
...
...
@@ -144,7 +144,6 @@ static void vcd_main_gui(gui *g, event_handler *h, void *database, int *is_on)
i
=
0
;
for
(
j
=
0
;
j
<
n
;
j
++
)
{
if
(
strncmp
(
ids
[
j
],
"VCD_FUNCTION_"
,
13
)
!=
0
)
continue
;
on_off
(
database
,
ids
[
j
],
is_on
,
1
);
timelog
=
new_timelog
(
h
,
database
,
ids
[
j
]);
subview
=
new_subview_time
(
timeview
,
i
,
FOREGROUND_COLOR
,
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
...
...
@@ -209,7 +208,9 @@ int main(int n, char **v)
g
=
gui_init
();
new_thread
(
gui_thread
,
g
);
vcd_main_gui
(
g
,
h
,
database
,
is_on
);
vcd_main_gui
(
g
,
h
,
database
);
on_off
(
database
,
"VCD_FUNCTION"
,
is_on
,
1
);
for
(
i
=
0
;
i
<
on_off_n
;
i
++
)
on_off
(
database
,
on_off_name
[
i
],
is_on
,
on_off_action
[
i
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment