How to get the TESLA C1060 temparature in my application?

Dear all,

I would like to read the GPU temperature in my application in order to study the execution time of the kernel as a function of the card temperature. Do you know if there is a simple way to obtaine directly from the driver (and not from the nvidia-smi utility, or similar) this information?
Thank you in advance,