You can look at trace events/extended events for a compile event. You can also check the cache itself using sys.dm_exec_query_stats to see if the use is incremented by one. Also, look at the exec plan properties to see when the plan used was compiled vs. when it was executed.