[COMMON] lib: dss-reader: add cpu field in freq
authorYoungwan Kim <y103.kim@samsung.com>
Thu, 21 Jun 2018 09:43:55 +0000 (18:43 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:04:48 +0000 (17:04 +0900)
Change-Id: I0f53346a4c306e7a31ea4badd1fa13fa2563cee9
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
lib/dss-reader.c

index b5d12a62c79a44beac10a3808632b79450ac8197..80439fc1e0f009cc2ec16cf42e754161a0b3b6bf 100644 (file)
@@ -38,8 +38,9 @@ int main(int argc, char *argv[])
        }
 
        for (i = 0; i < DSS_LOG_MAX_NUM; i++) {
-               printf("log[%.9f] = {  'type' : 'freq', 'cluster' : %d, 'freq' : %lu }\n",
+               printf("log[%.9f] = {  'type' : 'freq', 'cpu' : %d, 'cluster' : %d, 'freq' : %lu }\n",
                                p->freq[i].time/1.0e9,
+                               p->freq[i].cpu,
                                p->freq[i].type,
                                p->freq[i].target_freq);
                if (p->freq[i].time == 0)