With Tockler you can go back in time and see what you were working on. You can get information on what apps were used - exactly at what time - and what title the application had at that moment. This is enough to determine how much you did something.
The concept is very simple. Turn on the mode in the app when you want to focus. The app will ask you to type a reason for unlocking, every time when you pick up your smartphone