Changes In Branch defstruct-srehman Through [bc49bb0f62] Excluding Merge-Ins
This is equivalent to a diff from 5178c56168 to bc49bb0f62
2016-09-16
| ||
17:28 | Start of rebase of runs-summary-contexts-menu to v1.62 check-in: 8c0fc4736d user: mrwellan tags: rebase-runs-summary-contexts-menu | |
2016-09-13
| ||
18:13 | v1.62 now has all new features of xor-two-runs branch check-in: 9558941541 user: bjbarcla tags: v1.62 | |
17:08 | started editing functions for defstruct addition check-in: 43bf8fc44f user: srehman tags: defstruct-srehman | |
17:08 | added defstruct for test db check-in: bc49bb0f62 user: srehman tags: defstruct-srehman | |
16:48 | Create new branch named "defstruct-srehman" check-in: d6d6338dd1 user: srehman tags: defstruct-srehman | |
15:36 | adding mode selector logic to runs-summary tab; added xor mode elements check-in: 5178c56168 user: bjbarcla tags: v1.62 | |
2016-09-12
| ||
13:53 | merged in latest fixes from v1.61 check-in: 485ad7daba user: bjbarcla tags: v1.62 | |
Modified db_records.scm from [f90e27c50c] to [aa524719d6].
︙ | ︙ | |||
62 63 64 65 66 67 68 | (define (dbr:dbstruct-get-localdb v run-id) (hash-table-ref/default (dbr:dbstruct-get-locdbs v) run-id #f)) (define (dbr:dbstruct-set-localdb! v run-id db) (hash-table-set! (dbr:dbstruct-get-locdbs v) run-id db)) | > > > > > > > > > > > > > > > > > | | | | | | | | | | | < | | | | | | | | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | (define (dbr:dbstruct-get-localdb v run-id) (hash-table-ref/default (dbr:dbstruct-get-locdbs v) run-id #f)) (define (dbr:dbstruct-set-localdb! v run-id db) (hash-table-set! (dbr:dbstruct-get-locdbs v) run-id db)) (defstruct db:test-rec (id -1): number (run_id -1) : number (testname "") : string (state "") : string (status "") : string (event_time -1) : number (host "") : string (cpuload -1) : number (diskfree -1) : number (uname "") : string (rundir "") : string (item-path "") : string (run_duration -1) : number (final_log "") : string (comment "") : string (process_id -1) : number (archived #f) : boolean) (define db:test-get-id db:test-rec-id) (define db:test-get-run_id db:test-rec-run_id) (define db:test-get-testname db:test-rec-testname) (define db:test-get-state db:test-rec-state) (define db:test-get-status db:test-rec-status) (define db:test-get-event_time db:test-rec-event_time) (define db:test-get-host db:test-rec-host) (define db:test-get-cpuload db:test-rec-cpuload) (define db:test-get-diskfree db:test-rec-diskfree) (define db:test-get-uname db:test-rec-uname) (define db:test-get-rundir db:test-rec-rundir) (define db:test-get-item-path db:test-rec-itempath) (define db:test-get-run_duration db:test-rec-run_duration) (define db:test-get-final_logf db:test-rec-final_log) (define db:test-get-comment db:test-rec-comment) (define db:test-get-process_id db:test-rec-process_id) (define db:test-get-archived db:test-rec-archived) ;; (define-inline (db:test-get-pass_count vec) (vector-ref vec 15)) ;; (define-inline (db:test-get-fail_count vec) (vector-ref vec 16)) (define-inline (db:test-get-fullname vec) (conc (db:test-get-testname vec) "/" (db:test-get-item-path vec))) ;; replace runs:make-full-test-name with this routine |
︙ | ︙ |