sim: Fix data type of ticks per second before passing it to C++
authorSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Fri, 16 Nov 2018 19:24:43 +0000 (14:24 -0500)
committerSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Fri, 16 Nov 2018 22:04:15 +0000 (22:04 +0000)
commitcb9fa244036772fc1d2c73fa2f4b10e98cd6e17a
tree85e74c2e2d0fe153b0eab0137624854a09f82902
parent4fa4b9bfef3ed8a99f73d8bafb9d6e0a860dd46c
sim: Fix data type of ticks per second before passing it to C++

Casts ticks per second value to int before passing it to C++. Python
throws an error because of incompatible type because of the recent
change.

Change-Id: Ibcaf8c327f1be0dba38763975d389584addd8373
Reviewed-on: https://gem5-review.googlesource.com/c/14375
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/python/m5/ticks.py