On the GAMS command line
Profile is a valid command line option and may be set as follows
GAMS MYMODEL PROFILE=1