Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
19d4a368
Commit
19d4a368
authored
Aug 04, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added timing to ML re-generation
parent
7f1db915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
Eyesis_Correction.java
src/main/java/Eyesis_Correction.java
+11
-3
No files found.
src/main/java/Eyesis_Correction.java
View file @
19d4a368
...
...
@@ -5656,6 +5656,9 @@ private Panel panel1,
public
boolean
mlRecalc
(
String
dir
)
{
Runtime
runtime
=
Runtime
.
getRuntime
();
long
startTime
=
System
.
nanoTime
();
String
mask
=
".*EXTRINSICS\\.corr-xml"
;
String
full_conf_suffix
=
".corr-xml"
;
String
dsi_suffix
=
"-DSI_COMBO.tiff"
;
...
...
@@ -5770,11 +5773,16 @@ private Panel panel1,
// return true; // temporarily
// }
indx
++;
if
(
DEBUG_LEVEL
>
0
)
System
.
out
.
println
(
"Finished scene "
+
indx
+
" of "
+
files
.
size
()
+
" at "
+
IJ
.
d2s
(
0.000000001
*(
System
.
nanoTime
()-
startTime
),
3
)+
" seconds Free memory="
+
IJ
.
d2s
(
runtime
.
freeMemory
()/(
1024.0
*
1024.0
*
1024.0
),
3
)+
" GB (of "
+
IJ
.
d2s
(
runtime
.
totalMemory
()/(
1024.0
*
1024.0
*
1024.0
),
3
)+
" GB), used "
+
IJ
.
d2s
((
runtime
.
totalMemory
()-
runtime
.
freeMemory
())/(
1024.0
*
1024.0
*
1024.0
),
3
)+
" GB"
);
}
}
System
.
out
.
println
(
"Re-processing ML files ("
+
files
.
size
()+
") done in "
+
IJ
.
d2s
(
0.000000001
*(
System
.
nanoTime
()-
startTime
),
3
)+
" seconds"
);
return
true
;
}
...
...
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