stdlib: Rename JsonSerializable to SerializableStat
As this abstract class now allows the output of text stats, it's more appropriate to rename it. It no longer handles processing just for JSON output Change-Id: Ia9a1e3ef4029de45a11ac261fb14c9bdfa412cdd Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/59273 Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
This commit is contained in:
committed by
Bobby Bruce
parent
2211fdb607
commit
5204b58e19
@@ -36,12 +36,11 @@ from typing import (
|
||||
Union,
|
||||
)
|
||||
|
||||
from .jsonserializable import JsonSerializable
|
||||
from .serializable_stat import SerializableStat
|
||||
from .statistic import Scalar, Statistic
|
||||
from .timeconversion import TimeConversion
|
||||
|
||||
|
||||
class Group(JsonSerializable):
|
||||
class Group(SerializableStat):
|
||||
"""
|
||||
Used to create the heirarchical stats structure. A Group object contains a
|
||||
map of labeled Groups, Statistics, Lists of Groups, or List of Statistics.
|
||||
|
||||
Reference in New Issue
Block a user