/dports/lang/racket-minimal/racket-8.3/src/expander/common/ |
H A D | performance.rkt | 57 (set! accums (make-hasheq))) 64 (struct stat ([msecs #:mutable] [memory #:mutable] [count #:mutable])) 94 (set! region-stack (cdr region-stack)) 110 (hash-set! accum stat-key s) 112 (set-stat-msecs! s (+ delta (stat-msecs s))) 113 (set-stat-memory! s (+ delta-memory (stat-memory s))) 115 (set-stat-count! s (add1 (stat-count s)))) 123 (set-region-as-nested-memory! (car region-stack) 153 … (max memory-len (string-length (format "~a" (kb (stat-memory v))))) 178 … (make-string (- memory-max-len (string-length (format "~a" (kb (stat-memory v))))) [all …]
|
/dports/lang/racket/racket-8.3/src/expander/common/ |
H A D | performance.rkt | 57 (set! accums (make-hasheq))) 64 (struct stat ([msecs #:mutable] [memory #:mutable] [count #:mutable])) 94 (set! region-stack (cdr region-stack)) 110 (hash-set! accum stat-key s) 112 (set-stat-msecs! s (+ delta (stat-msecs s))) 113 (set-stat-memory! s (+ delta-memory (stat-memory s))) 115 (set-stat-count! s (add1 (stat-count s)))) 123 (set-region-as-nested-memory! (car region-stack) 153 … (max memory-len (string-length (format "~a" (kb (stat-memory v))))) 178 … (make-string (- memory-max-len (string-length (format "~a" (kb (stat-memory v))))) [all …]
|
/dports/databases/sqlite3/sqlite-src-3350500/test/ |
H A D | vacuummem.test | 13 # frees any memory used for a temporary cache. 16 set testdir [file dirname $argv0] 18 set testprefix vacuummem 28 # finished and the temp db closed, all the page-cache memory currently 30 # this causes the total memory usage to drop much more than expected, 40 set stat [sqlite3_status SQLITE_STATUS_MEMORY_USED 1] 41 lindex $stat 1 57 set ans "#/[memory_used]/"
|
/dports/databases/sqlcipher/sqlcipher-3.4.2/test/ |
H A D | vacuummem.test | 13 # frees any memory used for a temporary cache. 16 set testdir [file dirname $argv0] 18 set testprefix vacuummem 28 # finished and the temp db closed, all the page-cache memory currently 30 # this causes the total memory usage to drop much more than expected, 40 set stat [sqlite3_status SQLITE_STATUS_MEMORY_USED 1] 41 lindex $stat 1 57 set ans "#/[memory_used]/"
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/test/ |
H A D | vacuummem.test | 13 # frees any memory used for a temporary cache. 16 set testdir [file dirname $argv0] 18 set testprefix vacuummem 28 # finished and the temp db closed, all the page-cache memory currently 30 # this causes the total memory usage to drop much more than expected, 40 set stat [sqlite3_status SQLITE_STATUS_MEMORY_USED 1] 41 lindex $stat 1 57 set ans "#/[memory_used]/"
|
/dports/devel/py-joblib/joblib-1.1.0/joblib/test/ |
H A D | test_memory.py | 664 test_access_time = os.stat(test_access_time_file.strpath).st_atime 670 if test_access_time == os.stat(test_access_time_file.strpath).st_atime: 682 first_access_time = os.stat(result_path).st_atime 688 assert os.stat(result_path).st_atime == first_access_time 693 assert os.stat(result_path).st_atime > first_access_time 898 assert set(hash_dirs) == set(expected_hash_dirs) 927 assert set.issubset(set(items_to_delete), set(items)) 942 assert set(items_to_delete_500b), set(items) 947 surviving_items = set(items).difference(items_to_delete_6000b) 973 assert set.issubset(set(cache_items), set(ref_cache_items)) [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 283 The limit is set by the :func:`start` function. [all …]
|
/dports/lang/python37/Python-3.7.12/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 283 The limit is set by the :func:`start` function. [all …]
|
/dports/lang/python38/Python-3.8.12/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 283 The limit is set by the :func:`start` function. [all …]
|
/dports/lang/python-tools/Python-3.8.12/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 283 The limit is set by the :func:`start` function. [all …]
|
/dports/databases/py-sqlite3/Python-3.8.12/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 283 The limit is set by the :func:`start` function. [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 283 The limit is set by the :func:`start` function. [all …]
|
/dports/devel/p5-BSD-stat/BSD-stat-1.35/ |
H A D | Changes | 6 ! stat.pm 15 ! stat.pm 21 ! stat.pm 26 ! stat.pm README 30 ! stat.pm stat.xs 37 ! stat.xs 42 ! stat.xs 63 ! possible memory leaks fixed this time 66 ! possible memory leaks fixed 67 ! OP_STAT and OP_LSTAT is set when and only when the [all …]
|
/dports/lang/python39/Python-3.9.9/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 324 The limit is set by the :func:`start` function. [all …]
|
/dports/lang/python310/Python-3.10.1/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 324 The limit is set by the :func:`start` function. [all …]
|
/dports/lang/python311/Python-3.11.0a3/Doc/library/ |
H A D | tracemalloc.rst | 28 frame (1 frame). To store 25 frames at startup: set the 51 for stat in top_stats[:10]: 52 print(stat) 93 print(stat) 136 stat = top_stats[0] 137 print("%s memory blocks: %.1f KiB" % (stat.count, stat.size / 1024)) 213 size = sum(stat.size for stat in other) 215 total = sum(stat.size for stat in top_stats) 244 self.data = set() 324 The limit is set by the :func:`start` function. [all …]
|
/dports/math/p5-Statistics-Descriptive-Discrete/Statistics-Descriptive-Discrete-0.12/ |
H A D | README | 46 speed and memory improvements. For example, for an 8-bit data set (256 77 $stat->max(); 80 $stat->min(); 103 $stat->count(); 106 $stat->uniq(); 108 elements in the data set. For example, if your data set is 119 value in the data the set: 129 $stat->sum(); 132 $stat->mean(); 147 $stat->mode(); [all …]
|
H A D | README.md | 48 and memory improvements. For example, for an 8-bit data set (256 possible values), 82 - $stat->max(); 86 - $stat->min(); 90 - $stat->mindex(); 100 - $stat->maxdex(); 111 - $stat->count(); 115 - $stat->uniq(); 136 - $stat->sum(); 140 - $stat->mean(); 159 - $stat->mode(); [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/procfs-0.7.8/examples/ |
H A D | README.md | 65 Shows several ways to get the current memory usage of the current process 70 == Data from /proc/self/stat: 71 Total virtual memory used: 3436544 bytes 72 Total resident set: 220 pages (901120 bytes) 75 Total virtual memory used: 839 pages (3436544 bytes) 76 Total resident set: 220 pages (901120 byte)s 77 Total shared memory: 191 pages (782336 bytes) 80 Total virtual memory used: 3436544 bytes 81 Total resident set: 901120 bytes 82 Total shared memory: 782336 bytes
|
/dports/www/mod_rivet/rivet-3.2.0/cmake/cmake_extra_modules/ |
H A D | checks.cmake | 7 check_include_files(memory.h HAVE_MEMORY_H) 14 check_include_files(sys/stat.h HAVE_SYS_STAT_H ) 49 # set(CMAKE_EXTRA_INCLUDE_FILES sys/stat.h) 61 check_c_source_compiles("#include <sys/stat.h> 67 check_c_source_compiles("#include <sys/stat.h> 72 #include <sys/stat.h> 87 check_c_source_compiles("#include <sys/stat.h> 92 #include <sys/stat.h> 150 set(NO_DLFCN_H 1) 154 set(NO_ERRNO_H 1) [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/procfs-0.7.8/ |
H A D | README.md | 27 let tty = format!("pty/{}", me.stat.tty_nr().1); 29 if prc.stat.tty_nr == me.stat.tty_nr { 32 (prc.stat.utime + prc.stat.stime) as f32 / (tps as f32); 35 prc.stat.pid, tty, total_time, prc.stat.comm 42 Here's another example that shows how to get the current memory usage of the current process: 54 println!("== Data from /proc/self/stat:"); 55 println!("Total virtual memory used: {} bytes", me.stat.vsize); 56 … println!("Total resident set: {} pages ({} bytes)", me.stat.rss, me.stat.rss as u64 * page_size);
|
/dports/cad/yosys/yosys-yosys-0.12/tests/arch/nexus/ |
H A D | lutram.ys | 4 memory -nomap 6 memory 10 sat -verify -prove-asserts -seq 5 -set-init-zero -show-inputs -show-outputs miter 14 stat
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/metrics_proto/ |
H A D | perf_stat.proto | 11 // Stores output generated by the "perf stat" command. 18 // All lines printed by "perf stat". 21 // The command line used to run "perf stat". 24 // Represents one line of "perf stat" output. 27 // Time since the start of the "perf stat" command, in milliseconds. 29 // When running "perf stat" and printing the counters at the end, this is 33 // the end of the run. For example, if "perf stat" runs for one second and 35 // a total of five times. According to "perf stat" usage instructions, the 40 // nominal counter value reported by "perf stat", depending on the event. 41 // For example, memory access counters are in units of 64 bytes. A counter [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/metrics_proto/ |
H A D | perf_stat.proto | 12 // Stores output generated by the "perf stat" command. 19 // All lines printed by "perf stat". 22 // The command line used to run "perf stat". 25 // Represents one line of "perf stat" output. 28 // Time since the start of the "perf stat" command, in milliseconds. 30 // When running "perf stat" and printing the counters at the end, this is 34 // the end of the run. For example, if "perf stat" runs for one second and 36 // a total of five times. According to "perf stat" usage instructions, the 41 // nominal counter value reported by "perf stat", depending on the event. 42 // For example, memory access counters are in units of 64 bytes. A counter [all …]
|
/dports/www/zenphoto/zenphoto-1.5.9/zp-core/zp-extensions/elFinder/php/ |
H A D | elFinderVolumeGoogleDrive.class.php | 363 $this->session->set($this->id . $this->netMountKey, [ 644 $this->session->set('GoogleDriveAuthParams', [])->set('GoogleDriveTokens', []); 669 $this->session->set('GoogleDriveAuthParams', $options); 674 $this->session->set('GoogleDriveAuthParams', $options); 708 $this->session->set('GoogleDriveAuthParams', $options); 726 … $this->session->set('GoogleDriveTokens', $aToken)->set('GoogleDriveAuthParams', $options); 781 $this->session->set('GoogleDriveAuthParams', $options); 1264 $stat = $this->stat($path); 1982 $memory = elFinder::getIniBytes('memory_limit'); 1983 if ($memory > 0) { [all …]
|