Good afternoon,
The literary device that the author use in the passage is metaphor, as you can see in the passage, it says that Jeremy spent all week cramming for a test on time management. Cramming is one of the "golden words" used to describe the use of metaphor.
I hope this has satisfied your needs, and if you have anymore questions, feel free to ask. Have a good day!