mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Measure conversion time of IfcConvert more faithfully
This commit is contained in:
@@ -230,6 +230,8 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
time_t start,end;
|
||||||
|
time(&start);
|
||||||
// Parse the file supplied in argv[1]. Returns true on succes.
|
// Parse the file supplied in argv[1]. Returns true on succes.
|
||||||
if ( ! IfcGeomObjects::Init(input_filename, &std::cout, &log_stream) ) {
|
if ( ! IfcGeomObjects::Init(input_filename, &std::cout, &log_stream) ) {
|
||||||
Logger::Message(Logger::LOG_ERROR, "Unable to parse .ifc file or no geometrical entities found");
|
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) {
|
|||||||
|
|
||||||
std::set<std::string> materials;
|
std::set<std::string> materials;
|
||||||
|
|
||||||
time_t start,end;
|
|
||||||
time(&start);
|
|
||||||
int old_progress = -1;
|
int old_progress = -1;
|
||||||
Logger::Status("Creating geometry...");
|
Logger::Status("Creating geometry...");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user