Version: 2018.1
public static long focusedElapsedTime ;

Description

Returns total time the Editor was in focus since the beginning of a session.