diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-09 17:32:59 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-03-28 10:51:48 -0700 |
commit | e0d8b6dab84cdd364cbc634554d81c44d390d205 (patch) | |
tree | 6dcb974313812444cadab85714a8f9b67774f24d /src/settings.js | |
parent | 93afa269f3fc18b40c0c86c920a1a0d565731dff (diff) |
Enable logging of filesystem operations
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index b8dbe06e..66b53218 100644 --- a/src/settings.js +++ b/src/settings.js @@ -136,6 +136,9 @@ var CORRECT_OVERFLOWS = 1; // Experimental code that tries to prevent unexpected var CORRECT_ROUNDINGS = 1; // C rounds to 0 (-5.5 to -5, +5.5 to 5), while JS has no direct way to do that: // Math.floor is to negative, ceil to positive. With CORRECT_ROUNDINGS, // we will do slow but correct C rounding operations. +var FS_LOG = 0; // Log all FS operations. This is especially helpful when you're porting + // a new project and want to see a list of file system operations happening + // so that you can create a virtual file system with all of the required files. var PGO = 0; // Profile-guided optimization. // When run with the CHECK_* options, will not fail on errors. Instead, will |