blob: ba229d481bcfe51f5f2464653d9c2656ea53f71f (
plain)
1
2
3
4
5
6
7
8
9
|
from yardstick.benchmark.core import Param
def change_osloobj_to_paras(args):
param = Param({})
for k in param.__dict__:
if hasattr(args, k):
setattr(param, k, getattr(args, k))
return param
|