This version of Unity is unsupported.

EditorAnalyticsSessionInfo.focusedElapsedTime

public static long focusedElapsedTime;

Description

The total time, in milliseconds, that the Editor has been in focus during the current session.