diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2016-09-12 13:52:10 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-09-15 16:04:21 +0300 |
commit | aa77ea0e43dc5bb0c1dcc9bad76afaa7faca8cab (patch) | |
tree | c48349a05d071d992e8b4a8ca195c8440016fa8a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 71801310b12b65b1fd3285cc899ecbf52c4f8ff3 (diff) |
tpm/tpm_crb: cache cmd_size register value.
Instead of expensive register access on retrieving cmd_size
on each send, save the value during initialization in the private
context. The value doesn't change.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions