Overview
Comment: | Changed throttle to be a multiple to avoid divide by zero and make bigger equal more throttle. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | test-specific-db |
Files: | files | file ages | folders |
SHA1: |
71272ebd0c75e161c2a84ccc47c79436 |
User & Date: | matt on 2012-09-26 22:01:22 |
Other Links: | branch diff | manifest | tags |
Context
2012-09-26
| ||
22:41 | Have DELETED records removed when a run is completely removed. Added trigger for cleaning cache on getting test info check-in: 44600fe1e6 user: matt tags: test-specific-db | |
22:01 | Changed throttle to be a multiple to avoid divide by zero and make bigger equal more throttle. check-in: 71272ebd0c user: matt tags: test-specific-db | |
21:38 | Corrected sqlite3 call in makefile check-in: 7f96074562 user: mrwellan tags: test-specific-db | |
Changes
Modified db.scm from [64bf30200f] to [ab37435701].
︙ | |||
78 79 80 81 82 83 84 | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - - + + - + + + | (define *global-delta* 0) (define *last-global-delta-printed* 0) (define (open-run-close-measure proc idb . params) (let* ((start-ms (current-milliseconds)) (db (if idb idb (open-db))) (throttle (string->number (config-lookup *configdat* "setup" "throttle")))) |
︙ | |||
795 796 797 798 799 800 801 | 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 | - + + + | db "SELECT id,run_id,testname,state,status,event_time,host,cpuload,diskfree,uname,rundir,item_path,run_duration,final_logf,comment FROM tests WHERE id=?;" test-id) (if res (db:patch-tdb-data-into-test-info db test-id res)) res))))) ;; Get test data using test_id |
︙ |
Modified tests/fullrun/megatest.config from [a8449f4b27] to [f619762d30].
︙ | |||
9 10 11 12 13 14 15 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | + - + | area1 /tmp/oldarea/megatest [include config/mt_include_1.config] [setup] # FULL or 2, NORMAL or 1, OFF or 0 synchronous OFF # Throttle roughly scales the db access milliseconds to seconds delay |
︙ |