Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
vite
Commits
7d94f9a5
Commit
7d94f9a5
authored
Jun 10, 2009
by
Mathieu Faverge
Browse files
Clean the state list
parent
3b69d7a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/statistics/Statistic.hpp
View file @
7d94f9a5
...
...
@@ -32,11 +32,10 @@ struct stats{
class
Statistic
{
private
:
map
<
const
EntityValue
*
,
stats
*>
_states
;
map
<
const
Container
*
,
int
>
_link
;
map
<
const
Container
*
,
int
>
_link
;
int
_number_link
;
int
_event
;
public
:
/*!
...
...
src/statistics/Stats_window.cpp
View file @
7d94f9a5
...
...
@@ -74,8 +74,14 @@ void Stats_window::set_trace(Trace *trace) {
const
list
<
StateType
*>
*
states_types_list
;
list
<
StateType
*>::
const_iterator
it
;
list
<
StateType
*>::
const_iterator
end
;
// Initialize _trace
_trace
=
trace
;
// Clean the list
_kind_of_state_box
->
clear
();
// Fill in the combobox
states_types_list
=
_trace
->
get_state_types
();
end
=
states_types_list
->
end
();
for
(
it
=
states_types_list
->
begin
();
...
...
@@ -85,7 +91,6 @@ void Stats_window::set_trace(Trace *trace) {
QString
temp
(
QString
::
fromStdString
(
name
));
_kind_of_state_box
->
addItem
(
temp
);
}
}
...
...
@@ -96,7 +101,7 @@ void Stats_window::init_window() {
// We init the times
_start_time
=
Info
::
Render
::
_x_min_visible
;
_end_time
=
Info
::
Render
::
_x_max_visible
;
_end_time
=
Info
::
Render
::
_x_max_visible
;
QString
temp
;
temp
.
setNum
(
_start_time
);
...
...
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