modulo and frame number in mframe_sched.c

Holger Hans Peter Freyther holger at freyther.de
Fri Oct 19 07:42:41 UTC 2012


On Thu, Oct 18, 2012 at 01:48:15PM +0200, ☎ wrote:
> 18.10.2012 12:15, Harald Welte пишет:
> 
> 
> Could you please comment?

You want to install a utility called pahole and then inspect the .o files
that use the multiframe scheduler.

The pahole output looks like this:

struct gsm_time {
	uint32_t                   fn;                   /*     0     4 */
	uint16_t                   t1;                   /*     4     2 */
	uint8_t                    t2;                   /*     6     1 */
	uint8_t                    t3;                   /*     7     1 */
	uint8_t                    tc;                   /*     8     1 */

	/* size: 12, cachelines: 1, members: 5 */
	/* padding: 3 */
	/* last cacheline: 12 bytes */
};





More information about the baseband-devel mailing list