Skip to content

Commit bdcca08

Browse files
committed
Include in stats the debug and archive layer and group names.
1 parent 9951d06 commit bdcca08

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/liboslexec/shadingsys.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ ShadingSystemImpl::getstats (int level) const
13091309
std::string opt;
13101310
#define BOOLOPT(name) if (m_##name) opt += #name " "
13111311
#define INTOPT(name) opt += Strutil::format(#name "=%d ", m_##name)
1312+
#define STROPT(name) if (m_##name.size()) opt += Strutil::format(#name "=\"%s\" ", m_##name)
13121313
INTOPT (optimize);
13131314
INTOPT (llvm_optimize);
13141315
INTOPT (debug);
@@ -1322,6 +1323,10 @@ ShadingSystemImpl::getstats (int level) const
13221323
BOOLOPT (range_checking);
13231324
BOOLOPT (greedyjit);
13241325
BOOLOPT (countlayerexecs);
1326+
STROPT (debug_groupname);
1327+
STROPT (debug_layername);
1328+
STROPT (archive_groupname);
1329+
STROPT (archive_filename);
13251330
#undef BOOLOPT
13261331
#undef INTOPT
13271332
out << " Options: " << Strutil::wordwrap(opt, 75, 12) << "\n";

0 commit comments

Comments
 (0)