Skip to content

Commit 81537be

Browse files
author
aothms
committed
Measure conversion time of IfcConvert more faithfully
1 parent f9e94f5 commit 81537be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ifcconvert/IfcConvert.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ int main(int argc, char** argv) {
230230
}
231231
}
232232

233+
time_t start,end;
234+
time(&start);
233235
// Parse the file supplied in argv[1]. Returns true on succes.
234236
if ( ! IfcGeomObjects::Init(input_filename, &std::cout, &log_stream) ) {
235237
Logger::Message(Logger::LOG_ERROR, "Unable to parse .ifc file or no geometrical entities found");
@@ -247,8 +249,6 @@ int main(int argc, char** argv) {
247249

248250
std::set<std::string> materials;
249251

250-
time_t start,end;
251-
time(&start);
252252
int old_progress = -1;
253253
Logger::Status("Creating geometry...");
254254

0 commit comments

Comments
 (0)