Salt includes a number of built-in subsystems to generate top file data, they are listed at master tops modules.
The source for the built-in Salt master tops can be found here: https://github.com/saltstack/salt/blob/master/salt/tops