projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
seek position fixed for state
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
tracefile.c
diff --git
a/ltt/branches/poly/ltt/tracefile.c
b/ltt/branches/poly/ltt/tracefile.c
index da5b356c15b092c8d66c419ec72b402532a606e4..a84381e9ec5c07789f7711353fa638f7d513955e 100644
(file)
--- a/
ltt/branches/poly/ltt/tracefile.c
+++ b/
ltt/branches/poly/ltt/tracefile.c
@@
-1431,10
+1431,10
@@
int ltt_tracefile_seek_time(LttTracefile *tf, LttTime time)
} else if(ltt_time_compare(time, tf->buffer.begin.timestamp) < 0) {
/* go to lower part */
} else if(ltt_time_compare(time, tf->buffer.begin.timestamp) < 0) {
/* go to lower part */
- high = block_num;
+ high = block_num
- 1
;
} else if(ltt_time_compare(time, tf->buffer.end.timestamp) > 0) {
/* go to higher part */
} else if(ltt_time_compare(time, tf->buffer.end.timestamp) > 0) {
/* go to higher part */
- low = block_num;
+ low = block_num
+ 1
;
} else {/* The event is right in the buffer!
(or in the next buffer first event) */
while(1) {
} else {/* The event is right in the buffer!
(or in the next buffer first event) */
while(1) {
This page took
0.022634 seconds
and
4
git commands to generate.