frame-pixel-width
frame-pixel-width is a built-in function in `C source code
'.
(frame-pixel-width &optional FRAME)
Return FRAME's width in pixels.
For a terminal frame, the result really gives the width in characters.
If FRAME is omitted or nil, the selected frame is used.