add a function to measure the utilizing efficiency