The table below shows you how the game events are processed within a second:

first second third fourth
construction of a new building/resource field trade unit upgrade (smithy) spy
downgrade of buildings
research (academy)  attack
upgrade of a building/resource field
celebration reinforcement